4.4 Attaching Microsoft Visual Studio to a simulator process
This section describes 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.
Select a Win64-Debug-VC20
XX option in the
Select Active Project Configuration
menu, and build your model.
Click the Debug button or press F5 to launch
Model Debugger from System Canvas.
Results: Model Debugger starts and the Configure Model
Parameters dialog appears.
Configure any appropriate parameters for the target and click OK.
Results: The Select Targets dialog opens. The Arm® processor
is selected by default.
Select any additional targets to load. Click OK to close the dialog.
Results: Model Debugger creates a separate window for each target.
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.
Attach to Process...
. Select the ModelDebugger.exe process in the Attach to Process dialog. Click the Attach button.
It might be necessary to close some dialogs to proceed.
Results: Microsoft Visual Studio can now control the entire host level