Environment Variables
SOURCE, MRD and MRD_LOCAL
──────────────────────────────────────────────────────────────────────────────
These environment variables are used by MrDebug to point to various files
that MrDebug uses:
SOURCE - point to your source code
MRD - points to the global and colour setting files
MRD_LOCAL - points to the local settings file
The SOURCE environment variable
The SOURCE environment variable points to one or more directories that
contain the source code for your application. SOURCE is very similar to the
standard PATH environment variable - MrDebug will search the directories
contained within the variable for the source code files that cannot be found
within the current directory.
The following example shows an example of how to set up your SOURCE
environment variable:
SET SOURCE=C:\CLIPPER5\SOURCE\MYAPP;C:\CLIPPER5\SOURCE\MOREAPP;
In the above example, MrDebug will search the two directories if no source
files can be found within the current directory.
Don't forget to separate directory entries with a semi-colon (';'). And use
no spaces.
These paths are searched after any paths entered in the 'Path for source'
option under the options menu.
The MRD environment variable
The MRD environment variable is used to set a directory for MrDebug to save
the global settings of MrDebug into a file called GLOBAL.MRD. All
applications linked with MrDebug will use this file for each of the Global
settings within MrDebug.
The colours files are also stored at this location. If this environment
variable does not exists all colours will be saved in the current directory.
Without this environment variable, a GLOBAL.MRD file will be created in each
directory that you run a MrDebug linked application from.
The MRD_LOCAL environment variable
By default MrDebug creates a local file with the same name as your
application but with an extension of .MRD. in the current directory.
Should you wish to have a single directory that stores all of the local
settings for each application then you can set the MRD_LOCAL environment
variable to point to a specific directory.