AR# 63068


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


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


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 12/10/2014
Status Active
Type General Article
People Also Viewed