GDB

GDB GNU debugger is a widely used debugging client. GDB can either be used directly from the command line in an interactive terminal setting, or integrated an IDE project like VSCode if graphical debugging is preferred.

Running GDB From The Command line

To run GDB on your DUT, you'll need an elf file. This is a special kind of image that contains debug information in the file, e.g. file names, variable names, etc.

Running GDB From Command Line
~  lager debug gdb my_debug_image.elf --dut 1

Integrating GDB Into VSCode

Coming soon...