🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #13473

Re: crash on F12

#13473
From: Chris Hill
Date: Fri, 10 Oct 2003 00:29
21 lines
1677 bytes
On Thu, 9 Oct 2003 17:19:07 -0500, "M. Finch"
<mlfsup@nospam.comcast.net> wrote:
>I have tried this in another program and get the SAME result....crash with
>VK_F12.
>
>Any ideas???

If you are running your program inside a debugger (such as C++Builder
5), the NT based versions of Windows (NT/2K/XP) will halt your program
as if it encountered a breakpoint instruction (or DebugBreak() was
called) when F12 is pressed.  To verify that this is what is
happening, try running your program outside of the debugger.  It won't
crash when you press F12 if this is what is happening.

This is an operating system feature, and affects all debuggers (not
just C++Builder's).  You can use a different key to provide this
function in your program or simply avoid using the F12 key while under
the debugger.

Chris Hill
Chris244@aol.com
Technical Details
Message-ID: <3f85fb0e.3478662202@forums.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f85ded2$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,2fad7e4d444a1c65
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-10-09 17:42:59 PST
From: Chris244@aol.com (Chris Hill)
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: crash on F12
Date: Fri, 10 Oct 2003 00:29:33 GMT
Message-ID: <3f85fb0e.3478662202@forums.borland.com>
References: <3f85ded2$1@newsgroups.borland.com>
X-Newsreader: Forte Free Agent 1.21/32.243
NNTP-Posting-Host: 12.221.66.183
X-Trace: newsgroups.borland.com 1065745771 12.221.66.183 (9 Oct 2003 17:29:31 -0700)
Lines: 21
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail