The debugger allows debugging an
application that is already running on the target device. An example is a standalone
application component or Linux kernel booting from a flash device. The following are the
steps for attaching to an application component running on the target.
Note: The debugger does not modify the
state of the processors on the target device, but merely connects to them. You can
halt the processors and debug from the current PC.
- Create a target connection to the host that connects to the hardware board.
If the hardware board connects to the same machine where the Vitis Unified IDE is running, you can skip this step. You can use
the default Local connection in the
subsequent steps that refer to remote board and remote connection.
- See Creating a New Target Connection to create the target connection.
- See Launch Configurations to launch
a debug configuration. Set the Target Setup
Mode as Attach to running
target and select the target connection.
- Follow Starting Debug to start debug the application.