4.2.1 GDB LISA debug session

This section describes how to set a breakpoint in the LISA source, and run to it.

  1. In GDB, interrupt execution of Model Debugger by pressing Ctrl+C.

  2. 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:

    break MyCode.lisa:123 
  3. In GDB, continue execution of Model Debugger by typing:

  4. 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.

Non-ConfidentialPDF file icon PDF version100965_1105_00_en
Copyright © 2014–2018 Arm Limited or its affiliates. All rights reserved.