You copied the Doc URL to your clipboard.

set substitute-path

Modifies the search paths used by the debugger when it executes any of the commands that look up and display source code. This command is useful when the source files have moved from the original location used during compilation.

Subsequent use of the set substitute-path command appends rules to the current list.


set substitute-path path1 path2



Specifies the existing search path.


Specifies the replacement search path.

Example 1-157 Examples

set substitute-path "\src" "\My Src"         # Substitute "\src" with "\My Src"