UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 63068

2014.4 - SDK - How can I debug a running application in SDK?

Description

I have an application executing from boot device on either MicroBlaze or Zynq and I would like to debug it while it is running.

Solution

While your application is executing, you can connect to a running target in SDK.

To do this, follow the steps below:
  • Launch an SDK (no hardware platform is required)
  • Go to Run -> Debug Configurations
  • In the Target Setup tab, Select debug type = "attach to running target" (if given the option) 
    • This will launch the debug perspective.
  • In the SDK debug perspective, right click the processor and attach the symbol file (.elf file)
  • Suspend the application to pause the processor (use the pause icon)
  • You can now use all of the debug options (resume, step into, step over, etc.)
AR# 63068
Date Created 12/09/2014
Last Updated 12/10/2014
Status Active
Type General Article
Devices
  • SoC
  • FPGA Device Families
Tools
  • Vivado Design Suite - 2014.4
IP
  • Embedded Processing