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. Some of the views in the DS-5 Debug perspective are associated with the current stack frame. Other views are associated with editors or target connections. Each associated view is synchronized accordingly.

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 37. 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

Collapses all expanded stack trace configurations.

Connect to Target

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

Disconnect from Target

Disconnects from the selected target.

Remove Connection

Removes 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

Starts running the application image from the current location.

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

Note

A Connect only connection might require setting the PC register to the start of the image before running it.

Interrupt

Interrupts 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, steps at the source level including stepping into all function calls where there is debug information.

  • If instruction mode is selected, steps 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, steps at the source level but stepping over all function calls.

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

Step Out

Continues 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)

Toggles 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

Continues running to the selected stack frame.

Change Connection Color

Enables you to change the color of the connection icon.

View Menu

The following options are available:

Add Configuration (without connecting)...

Displays 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...

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

Path Substitution...

Displays 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.

Reset DS-5 Views to ‘Linked’

Resets DS-5 views to link to the selected connection in the Debug Control view.

Threads Presentation

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

Auto Expand Stack

Controls whether to automatically display an expanded stack when selecting a connection.

Show/hideSee also

Copyright © 2010, 2011 ARM. All rights reserved.ARM DUI 0446H
Non-ConfidentialID111711