Debug Control view

This view enables you to:

The Debug Control view displays target connections with a hierarchical layout of running threads, user space processes, and related call stacks. All the views in the DS-5 Debug perspective are associated with the current stack frame, shown in bold text, and are updated when the stack frame changes.

Connection states are identified with different icons and background highlighting and are also displayed in the view status bar. The following example shows a connection in the connected state and the others in the disconnected state. If you want to add another configuration to the view then you can use the Debug Control view menu.

Figure 29. Debug Control view

Debug Control view

Show/hideToolbar and context menu options

The following options are available from the toolbar or context menu:

Collapse All

Collapse all expanded stack trace configurations.

Connect to Target

Connect to the selected target using the same launch configuration settings as the previous connection.

Disconnect from Target

Disconnect from the selected target.

Remove Connection

Remove the selected target connection from the Debug Control view.

Debug from menu

This menu lists the different types of actions that you can perform when a connection is established.

Reset menu

This menu lists the different types of reset that are available on your target.

Run/Continue

Start running the application image from the current location.

After a breakpoint is hit or the target is interrupted, continue running the application.

Note

For a Connect only connection you might need to set the PC register to the start of the image before running it.

Suspend

Interrupt the target and stop the current application.

Step Source Line, Step Instruction

This option depends on the stepping mode selected:

  • If source line mode is selected, step at the source level including stepping into all function calls where there is debug information.

  • If instruction mode is selected, step at the instruction level including stepping into all function calls.

Step Over Source Line, Step Over Instruction

This option depends on the stepping mode selected:

  • If source line mode is selected, step at the source level but stepping over all function calls.

  • If instruction mode is selected, step at the instruction level but stepping over all function calls.

Step Out

Continue running to the next instruction after the selected stack frame finishes.

Stepping by Source Line (press to step by instruction), Stepping by Instruction (press to step by source line)

Toggle the stepping mode between source line and instruction.

The Disassembly view and the Source view are automatically displayed when you step in instruction mode.

The Source view is automatically displayed when you step in source line mode. If the target stops in code such as a shared library, and the corresponding source is not available, then the Source view is not displayed.

Debug Configurations...

Displays the Debug Configurations dialog box, with the configuration for the selected connection displayed.

Step Out to This Frame

Continue running to the selected stack frame.

View Menu

The following View Menu options are available:

Add Configuration (without connecting)...

Display the Add Launch Configuration dialog box. The dialog box lists any configurations that are not already listed in the Debug Control view.

Select one or more configurations, then click OK. The selected configurations are added to the Debug Control view, but remain unconnected.

Load...

Displays a dialog box where you can select whether to load an image, debug information, an image and debug information, or additional debug information. This option might be disabled for targets where this functionality is not supported.

Set Working Directory...

Display the Current Working Directory dialog box. Enter a new location for the current working directory, then click OK.

Path Substitution...

Display the Path Substitution and Edit Substitute Path dialog box.

Use the Edit Substitute Path dialog box to associate the image path with a source file path on the host. Click OK. The image and host paths are added to the Path Substitution dialog box. Click OK when finished.

Threads Presentation

Display either a flat or hierarchical presentation of the threads in the stack trace.

Show/hideSee also

Copyright © 2010, 2011 ARM. All rights reserved.ARM DUI 0446D
Non-ConfidentialID011411