3.2.1 Building a debuggable model

This section describes how to build a model with debug information.

Procedure

  1. Start System Canvas and load the project for the model.
  2. In the Select Active Project Configuration drop-down menu, select a valid debug configuration for the build environment.
  3. To build a debug version of the model, click the Build button.

The generated simulation code is annotated with line redirections to the corresponding LISA+ code. This feature enables the debugging of a LISA+ model with GDB or Microsoft Visual Studio.

You can start the model:

  • Directly, in the debugger. This method is easier for an ISIM system. If the implementation of main() is a new one, this method is especially useful.
  • Indirectly, dynamically connecting to a running simulation process.
Non-ConfidentialPDF file icon PDF versionARM DUI0835I
Copyright © 2014-2016 ARM Limited or its affiliates. All rights reserved.