Using Debuggers
td32 (Borland) debugger (32-bit turbo debugger)
(Thanks to Jim Ianelli)
Installation being so easy is one of the appeals of the Borland
debugger. Works really well for quickly finding array errors and
others. It's a little clunky to view all values in higher dimensional
arrays and w/o the source code, one can't trace crashes that occur
within libraries.
Step 1) install Borland C++
Step 2) compile code mymodel.tpl etc
Step 3) in same directory, type: "td32 mymodel"
This will get you into a quasi IDE where nearly all instructions are laid out (F9 to run, F2 to toggle break etc).
The downside may be that the support for td32 in the Borland 5.5 version is limited. Borland 5.2 may be a better option.
Compiling admb using safe option (-s comand line option) is best because it allows for bounds checking.
The Borland 5.5 C++ compiler can be down loaded for free.

