This section describes how to use GDB on Linux or Microsoft Visual Studio on Windows to debug the LISA source code of models.
The generated simulation code is annotated with line redirections to the corresponding LISA+ code. This enables debugging a LISA+ model with all the debug features provided by GDB or Visual Studio.
For both GDB and Visual Studio, you can start model execution in one of the following ways:
Directly start the model in the debugger
This method is easier for an ISIM system. It is especially
useful if the user provided a new implementation of main().
Dynamically connect to an already running simulation process.