🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.misc
Article #3112

Re: When CTRL+C doesn't work.

#3112
From: Doug McDonald
Date: Tue, 11 Sep 1990 18:26
36 lines
1953 bytes
In article <6241@castle.ed.ac.uk> elee24@castle.ed.ac.uk (H Bruce) writes:
>I am getting more distenchanted with my PC .......
>I am implementing image processing algortihms (using Microsoft C 5.1).
>Such algorithms consist of many nested loops.
>When a bug in my code causes a loop never to exit the PC hangs.
>This is not because DOS has crashed but beacuse the microprocessor cannot
>be interrupted by CRTL+C or CTLR+BREAK.
>This result is that the PC must be rebooted.
>This is a very time consuming way to find bugs !
>Does anyone know how I can interrupt the program ?
>
>Putting "break=on" into my config.sys file makes no difference.
>
>
>Thanks,
>
>Henry Bruce.

The following is a TSR that will break out of loops, even in the cases
you describe above. It will not always leave your PC in a useable state,
however, if the program it stops has done something strange, like
usurp interrupts. Basica or Gwbasic, for example, do this, as do
many network programs.

Uudecode this program and run in from you autoexec.bat. The command that
it uses to stop programs is control-alt-4 (hit control and alt, hold them 
down, then hit 4).

begin 0666 breakit.com
MZTV0`````/L&5U!14IRX``".P+\7!":*)?;$!'0FY&`\!74@]L0(=!N*R.1A
MBN`,@.9ABL3F8?JP(.8@^[`!M$S-(<^=6EE87P<N_RX#`;@``([`OR0`)HL%
G)HM=`KX#`8D$B5P"N```CL",V_J_)`"X!P$FB04FB5T"^[I/`<TG
 
end

Doug McDonald
Technical Details
Message-ID: <1990Sep11.182648.3581@ux1.cso.uiuc.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!julius.cs.uiuc.edu!ux1.cso.uiuc.edu!aries!mcdonald
References: <6241@castle.ed.ac.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!julius.cs.uiuc.edu!ux1.cso.uiuc.edu!aries!mcdonald
From: mcdonald@aries.scs.uiuc.edu (Doug McDonald)
Newsgroups: comp.sys.ibm.pc.misc
Subject: Re: When CTRL+C doesn't work.
Message-ID: <1990Sep11.182648.3581@ux1.cso.uiuc.edu>
Date: 11 Sep 90 18:26:48 GMT
References: <6241@castle.ed.ac.uk>
Sender: news@ux1.cso.uiuc.edu (News)
Reply-To: mcdonald@aries.scs.uiuc.edu (Doug McDonald)
Organization: School of Chemical Sciences, Univ. of Illinois at Urbana-Champaign
Lines: 36