Linux Application Debugging with System Debugger

  1. Launch SDK.
  2. Create a Linux application.
  3. Select the application you want to debug.
  4. Select Run > Debug Configurations.
  5. Click Xilinx C/C++ application (System Debugger) to create a new configuration.








  6. In the Debug Configuration window:
    1. Click the Target Setup tab.
    2. From the Debug Type drop-down list, select Linux Application Debug.




    3. Provide the Linux host name or IP address in the Host Name field.




    4. By default, tcf-agent runs on the 1534 port on the Linux. If you are running tcf-agent on a different port, update the Port field with the correct port number.
    5. In the Application Tab, click Browse and select the project name. SDK automatically fills the information in the application.




    6. In the Remote File Path field, specify the path where you want to download the application in Linux.




    7. If your application is expecting some arguments, specify them in the Arguments tab.




    8. If your application is expecting to set some environment variables, specify them in the Environments tab.




    9. Click the Debug button. A separate console automatically opens for process standard I/O operations.








    10. Click the Terminate button to terminate the application.