Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom Debugger Guide - when the debugger starts up, it will attempt to open the initialization file http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
When the debugger starts up, it will attempt to open the initialization file
.wdrc provided that you have not specified the invoke command line option.
 It looks for this file in all the usual places ( CWD,  WD_PATH,
 /usr/watcom/<ver>/wd, /usr/watcom/wd).  This file normally contains your
customization commands.  If it is found, it is processed as the default
configuration file.  You would normally place this file in your home
directory.

If the file does not exist, the debugger then looks for the wd.dbg file.

If the .wdrc file is not found, the file specified by the "-Invoke" command
line option is looked for in all of the usual places (if the "-Invoke"
command line option isn't specified, wd.dbg is the default name).  An error
will be reported if the file cannot be located.

So if you want to specify an alternate initialization command file using the
"-Invoke" command line option or if you want the debugger to use the wd.dbg
file, make sure that the .wdrc file cannot be located.

The supplied version of the wd.dbg file contains an "invoke" command
referencing the file setup.dbg.  This file, in turn, contains a "configfile"
command and "invoke" commands referencing other command files.  The
"configfile" command marks setup.dbg as the default file name to use when
the debugger writes out the current configuration.

The following section entitled
Debugging Under QNX Using the Postmortem Dump Facility describes the use of
the debugger with the Postmortem dump facility.  The following section
entitled Search Order for Watcom Debugger Support Files under QNX describes
the search order for debugger files under QNX.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson