🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Debugging advice

#324
From: Pedt Scragg
Date: Thu, 22 Apr 1999 00:00
31 lines
2053 bytes
Hamish Seaton [mailto:love_shack@caverock.net.nz] decided to regale us
with
>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.
>
Sounds likely that, as you are using ISR's, one of the original vectors
is not being restored when the program terminates or, if you are
restoring each Interrupt Vector, then a memory overwrite has trashed the
pointer.

-- 
Pedt
Kellemes Karacsonyi Unnepeket (I'm getting in early for y2k)
Technical Details
Message-ID: <aVS6eDAUI3H3YwWC@pedt.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <371F0E9F.FB3F927B@caverock.net.nz>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 108ebd,327bda8f5ce334a
X-Google-Attributes: gid108ebd,public
X-Google-Thread: 111659,327bda8f5ce334a
X-Google-Attributes: gid111659,public
From: Pedt Scragg <newsmaster@pedt.demon.co.uk>
Subject: Re: Debugging advice
Date: 1999/04/22
Message-ID: <aVS6eDAUI3H3YwWC@pedt.demon.co.uk>
X-Deja-AN: 469668694
X-NNTP-Posting-Host: pedt.demon.co.uk:194.222.191.220
References: <371F0E9F.FB3F927B@caverock.net.nz>
X-Complaints-To: abuse@demon.net
X-Trace: news.demon.co.uk 924808632 nnrp-02:1085 NO-IDENT pedt.demon.co.uk:194.222.191.220
Organization: Signpost
MIME-Version: 1.0
Newsgroups: comp.lang.pascal.borland,borland.public.turbopascal