Debugging the Application on Hardware

The Vitis software platform debugger enables you to examine your code line by line. You can set breakpoints or watchpoints to stop the processor, step through program execution, view the program variables and stack, and view the contents of the memory in the system.

The customized Xilinx® system debugger is derived from open-source tools and is integrated with the Vitis software platform.

To debug the application on hardware, follow these steps:

  1. Right-click the application project and select Build Project to build an application.
  2. Right-click on the application project and select Debug As > Launch on Hardware (Single Application Debug).
  3. When prompted to switch perspectives, click Yes to move to the Debug perspective.

    Operations like step-in, step-into, and more can be done in the Debug perspective. You can check the Breakpoints view, Registers view, Variable view, Memory view, and more in this perspective.