AI Features

Entering and Exiting gdb Mode

Learn how to debug code using gdb.

Compile the program

To be able to debug a program using gdb, we must, first, compile it using the -g flag.

gcc main.c -g
...