Debug Perspective in Vitis IDE - 2022.1 English

Vitis Unified Software Platform Documentation: Embedded Software Development (UG1400)

Document ID
UG1400
Release Date
2022-04-26
Version
2022.1 English

About Debug Perspective

Perspective is a method that the Vitis IDE uses to organize the window views to help you accomplish current tasks. The common perspectives are:

  • Debug Perspective: the perspective that groups multiple views for debugging
  • Design Perspective: the default perspective for code editing
  • Performance Analysis Perspective: the perspective that groups multiple views for performance analysis

Launching Debug Perspective

You can use any of the following methods to launch Debug Perspective

  • On the right side of the tool bar, click the Debug Perspective icon
  • Click menu > Xilinx > Debug Perspective

Layout of Debug Perspective

The following image shows the default layout of Debug Perspective. You can customize the position of each view by using the dragging and dropping.
Figure 1. Layout of Debug Perspective

Debug View

The debug view shows the processes for the current debug session and it is called 'stacks'.

Figure 2. Debug View

Variables View

The variables view shows the local variables of the current function.

For global variables, please use the Expressions View.



Breakpoints View

The breakpoints view shows the breakpoints of all applications in the current workspace.
Figure 3. Breakpoint View

You can click the three dots icon on the upper right corner to get more features in this view, such as add line breakpoint, add function breakpoint, add event breakpoint, add watchpoint, etc..

You can right click a breakpoint, select breakpoint properties to setup advanced use cases, such as condition, actions, etc..

Expressions View

The expressions view can show the results of user input expressions.

To view the value of global variables of C/C++ applications, please add the global variable name in the expressions view.

Figure 4. Expressions View

Registers View

The registers view shows the processor registers.

Figure 5. Register View

Memory View

In the memory view, the user can add any processor accessible memory regions. You can view and update the values of the selected memory region.

Figure 6. Memory View

XSCT Console

XSCT is the back end of the Vitis IDE. You can see the corresponding XSCT commands when you run actions from the Vitis IDE, such as Launching applications. You can input XSCT commands in the XSCT console.

Figure 7. XSCT Console

Emulation Console

The emulation console shows the output of QEMU and it allows the you to input commands to interact with QEMU.

Figure 8. Emulation Console