Discussion
Loading...

#Tag

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Jan Schaumann
@jschauma@mstdn.social  ·  activity timestamp 2 weeks ago

Advanced Programming in the Unix Environment

Week 5: Using gdb(1), part IV

In our last segment on gdb(1), we use the debugger to examine memory locations in a running program and illustrate how pointers and arrays work in the C programming language.

https://youtu.be/hr-rn0yUhAw

#apue #unix #programming #gdb

  • Copy link
  • Flag this post
  • Block
Jan Schaumann
@jschauma@mstdn.social  ·  activity timestamp 2 weeks ago

Advanced Programming in the Unix Environment

Week 5: Using gdb(1), part III

In this video lecture, we'll use our newly learned debugging skills to analyze and fix yet another flawed program. In the process, we learn to debug code from multiple source files and find out how to change the value of variables while the program is running.

https://youtu.be/hgcj7iAxhhU

#apue #unix #programming #gdb

  • Copy link
  • Flag this post
  • Block
Jan Schaumann
@jschauma@mstdn.social  ·  activity timestamp 2 weeks ago

Advanced Programming in the Unix Environment

Week 5: Using gdb(1), part II

In this video lecture, we continue to explore the capabilities of the debugger. We show how you can set a breakpoint to pause the program and how to step through the program while watching our code.

https://youtu.be/fOp4Q4mnTD4

#apue #unix #programming #gdb

  • Copy link
  • Flag this post
  • Block
Jan Schaumann
@jschauma@mstdn.social  ·  activity timestamp 2 weeks ago

Advanced Programming in the Unix Environment

Week 5: Using gdb(1)

Alright, let's look at gdb(1)! We begin by using it to troubleshoot our failing programs and immediately identify the location of our program where it segfaults. We also see how to inspect variables and call functions from within the debugger.

https://youtu.be/Miw0XLzHCws

#apue #unix #programming #gdb

  • Copy link
  • Flag this post
  • Block
Jan Schaumann
@jschauma@mstdn.social  ·  activity timestamp 3 weeks ago

Advanced Programming in the Unix Environment

Week 5: Debugging your code

Next in our discussion of the Unix _development_ environment, we start a short series on the use of a debugger by example of gdb(1). First, we illustrate just why exactly we might want to use a separate tool instead of sprinkling "printf" statements all over our code...

https://youtu.be/61YwbTQy2G0

#apue #unix #programming #gdb

  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.21 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login