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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.