From within the Vitis IDE, launching debug for the software and hardware emulation builds include the following steps:
- In the Assistant view, right-click the Emulation-SW or Emulation-HW build and select Set Active to make the build active.
- From the Assistant view menu, select the Debug () command, and select the
Launch on Emulator command to
launch the debug environment. This will open the Launch on Emulator dialog box as shown in the following figure. This prompts you to confirm launching the emulation environment and connecting to it using a Linux TCF agent. Select Start Emulator and Debug to continue.
This launches the emulation environment (QEMU), and loads the application in preparation for debugging. The application is paused as it enters the
main()function. The Debug perspective is opened in the Vitis IDE, and you are ready to begin debugging your application.