Source Code Remap - 2024.2 English - UG1400

Vitis Unified Software Platform Documentation: Embedded Software Development (UG1400)

Document ID
UG1400
Release Date
2025-01-20
Version
2024.2 English

You can remap the source code during debugging in user-managed mode when the application source path has changed or ELF location is changed. Follow the steps below:

Note: An error indicating "cannot find source" appears if the source code path or ELF location has been changed.
  1. Go to debug launch configuration, expand Path Map
  2. Click + to add source map.
    1. SOURCE: It refers to the original path of the source file. You can hover over the source file name in the CALL STACK view to see this path.
    2. DESTINATION: the current file path of the source code
  3. Then click OK and start debug.