Switching to a different context

The EmbSys Registers view displays the data from the context of a project that you are using at the moment. The name of this project and the related hardware information are displayed in the line above the data grid:


Context

Note: If the line on top of the EmbSys Registers view shows the message “EmbSys Properties not set”, specify the required information in the project properties as described in topic Setting up EmbSys properties for a project.

When a debug session is on, the EmbSys Registers view displays the registers of the project that you are debugging in the Debug view. If you switch to a different project, for instance, by clicking it in the Project Explorer view, then the EmbSys Registers view automatically loads the data from this last selected project. To get back to the context of the project you are debugging, click the main() node of the project in the Debug view.

Note: The registers may not be read after a single click at main() if you get back to the Debug view from a different view. Click the main() node once again to start reading the registers.

Switching between the nodes in the Debug view also results in the loss of context in the EmbSys Registers view. If you switch from the thread of a running program to a different node such as the GDB client or other, the EmbSys Registers view stops reading the registers from the connected device. The Hex field starts displaying the “not read” message rather then the register values.


Reading registers

To restore the debug context, click the main() node of the project.