🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.borland
Article #323

Debugging advice

#323
From: Hamish Seaton
Date: Thu, 22 Apr 1999 00:00
24 lines
1848 bytes
I've been asked to try and get a rather large and extensively modified
Turbo Pascal (DOS) program running properly.  It's been locking up
completely when the program is exited, BUT by doing one of the following
I can get it to exit happily:

1. run xtree gold before the program is run
2. don't process the system registry on bootup (F8 on startup then
choose step-by-step and N to process the reg).

Doing either of these enables the program to run and exited reliably
until the PC is next rebooted.  I can also

3. set BootGUI=0 in msdos.sys so PC boots into DOS

To confuse things further, there are 3 slightly different versions of
the program, one of which exited OK without any of the above mods, but
now locks up with the BootGUI=0 setting, while the other two are now OK.

Any hints as to what I should look for in the program, methods or tools
for debugging.  It's quite a large app, with some 114 files, ISR's etc.

thanks (hopefully)

Hamish
Technical Details
Message-ID: <371F0E9F.FB3F927B@caverock.net.nz>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111659,327bda8f5ce334a,start
X-Google-Attributes: gid111659,public
X-Google-Thread: 108ebd,327bda8f5ce334a,start
X-Google-Attributes: gid108ebd,public
From: Hamish Seaton <love_shack@caverock.net.nz>
Subject: Debugging advice
Date: 1999/04/22
Message-ID: <371F0E9F.FB3F927B@caverock.net.nz>
X-Deja-AN: 469520511
Cache-Post-Path: brutus.caverock.co.nz!unknown@tc1-47.caverock.net.nz
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
X-Trace: newscene.newscene.com 924782973 202.37.100.24 (Thu, 22 Apr 1999 07:09:33 CDT)
Organization: Cave Rock Internet (http://www.caverock.net.nz)
X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/)
MIME-Version: 1.0
NNTP-Posting-Date: Thu, 22 Apr 1999 07:09:33 CDT
Newsgroups: comp.lang.pascal.borland,borland.public.turbopascal