🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.games.programmer
Article #1956

Re: need SBP Faq and help.....

#1956
From: Zenbozo
Date: Wed, 13 Jan 1993 03:27
34 lines
2017 bytes
In article <1993Jan8.105900@unccsun.uncc.edu> drh@unccsun.uncc.edu (drew hartman) writes:
>
>
>Now for the help part.  I have a really wierd programing bug.  I am writing
...
>which dumps the location array to a file every turn, and according to it, the
>3rd ship is in there.  Now, I narrowed the problem down to a single procedure
>and when I went to trace through the procedure, line by line, it worked just
>like its supposed to.  I am completly baffled by this, And don't know
>what to do.
>Sorry for the lengthy description,  and any help would be appreciated.
>
>Thanks
>Drew
>
>drh@unccsun.uncc.edu

If it works OK when you're following it in the debugger, you may be running
out of stack space or somehow writing into yor stack with a wild pointer.
The debugger swaps your stack around for you (because it needs to use its
own stack space) so it can sometimes indavertently save you from stack
corruption.  That's the first place I would look anyhow.
DOn't forget TC/BC only give you 4K of stack to start off with; it's fairly
easy to run out of it if you have a lot of local variables.

hemlock@ucscb.ucsc.edu
-- 
"The possessed's mad speech is the higher wisdom of the world, since it is 
human...Why have we not yet acquired this insight in relation to the world
of the free will?  Because outwardly we are the masters of madness, because
the insane are violated by us, and we hinder them from living according to
their ethical laws...Now we must endeavor to overcome the dead point in our
relationship to insanity."       --Wieland Herzfelde, 1914
Technical Details
Message-ID: <1j027fINNl49@darkstar.UCSC.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!darkstar.UCSC.EDU!ucscb.UCSC.EDU!hemlock
References: <1993Jan8.105900@unccsun.uncc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!darkstar.UCSC.EDU!ucscb.UCSC.EDU!hemlock
From: hemlock@ucscb.UCSC.EDU (Zenbozo)
Newsgroups: rec.games.programmer
Subject: Re: need SBP Faq and help.....
Date: 13 Jan 1993 03:27:43 GMT
Organization: University of California; Santa Cruz
Lines: 34
Message-ID: <1j027fINNl49@darkstar.UCSC.EDU>
References: <1993Jan8.105900@unccsun.uncc.edu>
NNTP-Posting-Host: ucscb.ucsc.edu