Standalone Application Debug using System Debugger on QEMU

  1. Launch SDK.
  2. Create a standalone application project. Alternatively, you can also select an existing project.
  3. Select Run > Debug Configurations.
  4. Double-click Xilinx C/C++ application (System Debugger on QEMU) to create a new configuration.
    Note: Only Zynq® UltraScale+™ MPSoC based hardware platforms can be selected for standalone application debugging.


  5. In the Debug Configuration dialog box:
    1. If your application is expecting some arguments, specify them in the Arguments tab page.
    2. If your application is expecting to set some environment variables, specify them in the Environments tab page.
  6. Click Debug.


  7. You can also launch the QEMU Console by selecting Window > Show View > Other menu. The QEMU Console can be used to interact with the program running on QEMU. The STDIN can be provided in the input box at the qemu% prompt. Output is displayed in the area above the input text.