Purpose: |
Easy post-mortem debugging while programming in Ada
GNAT/DOS. Shows unhandled exception call stack with source filenames, line numbers, unit names, subunit names, parameters and the source code lines (including generic code). This program is only an interface with the GNU debugger, GDB.EXE. AD is free software, entirely programmed in Ada, with GNAT. |
Installation: |
Copy AD.EXE and AD_SIPH.EXE into a directory reachable by the
DOS, e.g. where the executables of the GNAT compiler are. Type "path" to have the list of these directories; "path /?" or "help path" to know how to change it. |
How to use it: |
Type AD to see usage and options (or see below). Compile your program with the -g debug option, e.g. type "gnatmake -g myprog.adb" . This will produce myprog.exe (for direct execution) and myprog (for debugging).
|
Remarks: |
|
Usage and options: |
Usage: AD [language] {/option} progname [prog. parameters] Options: /P show subunit names and parameters /S show source code /L make log files (AD.LOG, AD_FILES.LOG, AD_GDB.LOG) /Wa_dir work directory:= `a_dir' (e.g. a ramdisk) /V restore video mode Language: one of the following: ENGLISH FRANCAIS |
Latest changes: |
|
New versions: | Download AD.ZIP from author's page http://www.unine.ch/math/personnel/assistants/Gautier/Gaut_FTP.htm or from EZ2OLAD site: ftp://ftp.seas.gwu.edu/pub/ada/ez2load |
Author: |
Gautier de Montmollin e-mail:Gautier.deMontmollin@Maths.UniNe.CH internet:http://www.unine.ch/math/personnel/assistants/Gautier/Montmollin.html Improvements (for NT usage) by: Martin C. Carlisle, Asst Prof of Comp Sci, US Air Force Academy, mcc@cs.usafa.af.mil http://www.usafa.af.mil/dfcs/bios/carlisle.html |
(1) | DR-DOS: free "sequel" of DR DOS 6, Novell DOS 7 and OpenDOS 7.01, with multitasking, downloadable from this site. To run GNAT and other programs of the DJGPP family, it is necessary to unactivate DR-DOS' DPMI server (option in setup or command "dpmi off" e.g. in autoexec.bat). N.B.: GNAT runs correctly (including multitasking mode) from DR-DOS version 7.02 - please upgrade if necessary. |
(2) | You can download a good shareware clone of NC, Volkov Commander with this link. |