|Non-Confidential||PDF version||ARM 100965_1101_00_en|
|Home > Debugging LISA+ components > Debugging with GDB at the source level > GDB LISA debug session|
This section describes how to set a breakpoint in the LISA source, and run to it.
In GDB, interrupt execution of Model Debugger by pressing Ctrl+C.
You can now type commands at the GDB prompt. To set a breakpoint in GDB, for example at line 123 in the MyCode.lisa file, enter:
In GDB, continue execution of Model Debugger by typing:
In Model Debugger, click the Run button to start execution.
You can use GDB to perform any debug action on the LISA code such as printing values of variables or stepping through code.