When I first run MrDebug, it can't find my source. You may need to tell MrDebug where to find your source code files ──────────────────────────────────────────────────────────────────────────────
You may need to tell MrDebug where to find your source code files.
This may because you have your source in a different directory to your executable and you do not compile you PRG files with full path information.
To get around this there are several available options.
Option a) Use the SET SOURCE= environment variable to direct MrDebug to the location of your source files.
b) Use the 'Options Paths for Source' menu option. This works the same as option a) but is kept in the application setup file rather than your environment.
c) Compile you PRG files with the full path information. ie:
Clipper C:\SOURCE\TEST.PRG /m/n/b/w
instead of:
Clipper TEST.PRG /m/n/b/w
This has the advantage of guaranteeing that the correct source file is picked up, but has the disadvantage of not being portable to other directories should you decide to rename etc.