G. Using the GNU Debugger

Objectives

In this appendix you’ll:

Image Use the run command to run a program in the debugger.

Image Use the break command to set a breakpoint.

Image Use the continue command to continue execution.

Image Use the print command to evaluate expressions.

Use the set command to change variable values during program execution.

Use the step, finish ...

Get C for Programmers with an Introduction to C11 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.