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
日期 12/10/2014
状态 Active
Type 综合文章
器件
Tools
IP