The Debug perspective lets you manage the debugging or running of a program in the Workbench. You can control the execution of your program by setting breakpoints, suspending launched programs, stepping through your code, and examining the contents of variables.
The Debug perspective displays the following information:
The Debug perspective also drives the C/C++ Editor. As you step through your program, the C/C++ Editor highlights the location of the execution pointer.
You can view information about the variables in a selected stack frame in the Variables view. When execution stops, the changed values are highlighted in red by default. Like the other debug-related views, the Variables view does not refresh as you run your executable. A refresh automatically occurs when execution stops.
An expression is a snippet of code that can be evaluated to produce a result. The context for an expression depends on the particular debug model. Some expressions may need to be evaluated at a specific location in the program so that the variables can be referenced. You can view information about expressions in the Expressions view.
You can view information about the registers in a selected stack frame. Values that have changed are highlighted in the Registers view when your program stops.
You can inspect and change your process memory.
You can view disassembled code mixed with source information.
You can view certain output from debug operation on this console. You can also enter XMD commands on this console. This is recommended only for advanced users.
You can view information about the modules (executables and shared libraries) loaded in the current debug session.
You can view the signals defined on the selected debug target and how the debugger handles each one.
Copyright © 1995-2010 Xilinx, Inc. All rights reserved.