🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #32038

Re: Bomb list

#32038
From: braner
Date: Wed, 20 Apr 1988 14:01
16 lines
1129 bytes
[]

When debugging AL programs I sometimes generate a bad CHK on purpose
at a point in the program that should not be reached.  The six bombs
stand out on the screen...  Another trick is to use -1 (rather than
0) as the "invalid" pointer-offset value in variables.  Then if
you use an uninitialized such variable you get a tell-tale 3-bombs.

Note though that sometimes you'll get 2 or 3 crashes together, and the
number of bombs on the screen when the smoke clears will be the sum
of the numbers output by each crash.  SO if you get, say, 8 bombs
it _could_ really be 3+3+2.

A good debugger beats all of the above...

- Moshe Braner
Technical Details
Message-ID: <4481@batcomputer.tn.cornell.edu>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bloom-beacon!mit-eddie!uw-beaver!cornell!batcomputer!braner
References: <2905@saturn.ucsc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bloom-beacon!mit-eddie!uw-beaver!cornell!batcomputer!braner
From: braner@batcomputer.tn.cornell.edu (braner)
Newsgroups: comp.sys.atari.st
Subject: Re: Bomb list
Message-ID: <4481@batcomputer.tn.cornell.edu>
Date: 20 Apr 88 14:01:27 GMT
References: <2905@saturn.ucsc.edu>
Reply-To: braner@tcgould.tn.cornell.edu (braner)
Organization: Cornell Theory Center, Cornell University, Ithaca NY
Lines: 16
Summary: use for CHK, and a warning