3.4.4 Debugging with Microsoft Visual Studio at the host level
How to debug at the host level with Microsoft Visual Studio on Microsoft Windows and System Canvas.
To perform host-level debugging, attach Microsoft Visual Studio to a running Model Debugger
Start System Canvas and load the project for your model.
If you have not already done so, build a Debug version of your system by selecting one of
xx options in the Select
Active Project Configuration menu, and rebuilding your
Click the Debug button or press F5 to launch
Model Debugger from System Canvas.
Model Debugger starts and the Configure Model
Parameters dialog appears.
Configure any parameters required for the target and click
The Select Targets dialog opens. The ARM processor
is selected by default.
Select any additional targets to load. Model Debugger creates a separate window for each
target. Click OK to close the dialog.
Load the applications to the targets that execute software:
For a single target, Model Debugger displays a dialog prompting for
For more than one target, load the application to the targets in each
debug view separately by selecting Load
Application from the File
Start Microsoft Visual Studio.
In Microsoft Visual Studio, select ModelDebugger.exe process in the
Attach to Process dialog. Click the
Attach button. It might be necessary to close
additional dialogs to proceed.
. Select the
Microsoft Visual Studio can now control the entire host level simulation.