The following content has been imported from Legacy Help systems and is in the process of being checked for accuracy.
Parent process: WorkspaceManager:ProjectSpecificProcess
Applied parameters: Server=EditEmbedded|Command=StartDebug|ProjectKind=EmbeddedProject|Simulate=True
Summary
This command is used to initiate a simulation session, with respect to the currently focused embedded project.
First, ensure that the embedded project that you wish to simulate is focused in the
Projects panel. Focus is given simply by clicking once on the project's entry.
After launching the command, the embedded project will initially be recompiled and the simulation session will commence. The relevant source code document (either Assembly or C) will be opened and the current execution point will be set to the first line of executable code.
The simulation environment offers the full suite of tools you would expect to see in order to efficiently simulate the running of the source code in the intended target processor and debug the embedded code. These features include:
Setting Breakpoints
Adding Watches
Stepping into and over at both the source (*.C) and instruction (*.asm) level
Reset, Run and Halt code execution
Run to cursor
All of these and other feature commands can be accessed from the
Debug menu or the associated
Debug toolbar.
Notes
You can have multiple simulation sessions running simultaneously - one per embedded software project open in the
Projects panel.
Various workspace panels are accessible in the simulation environment, allowing you to view/control code-specific features, such as Breakpoints, Watches and Local variables, as well as information specific to the particular microcontroller in which the code will eventually run, such as simulation-based memory spaces and registers.
These panels can be accessed from the
View>> Workspace Panels>> Embedded sub menu, or by clicking on the
Embedded button at the bottom of the application window and choosing the required panel from the subsequent pop-up menu.