tags:

views:

494

answers:

1

I am busy developing a Delphi App that uses F12

When I am running the software under the Delphi IDE and press F12 the program stops and the ‘CPU’ window opens up

What can I do to stop the Delphi IDE from doing this when F12 is pressed ?

+12  A: 

Change the value of this registry key..

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\UserDebuggerHotKey

..to 0x13 (19 in decimal). This changes the key from f12 to pause/break. You will need to reboot for this change to take effect.

Reference: this blog post. The MS link in the post is broken, so here's a fixed one.

Craig Stuntz
For me, that registry key is set to 0x00000000.. and the blog's link to microsoft support is broken.
Blorgbeard
Here's a non-broken link:http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/regentry/11498.mspx?mfr=true0x00000000 = F12
Craig Stuntz
Craig, you should put the non-broken link directly in your answer rather than in a comment to it.
Jan Goyvaerts
Fixed link added.
Craig Stuntz
Awesome, it worked. Note that it does require a reboot though.
Blorgbeard
Hope you don't mind me editing your post - I've been looking for this tweak for a long time, and I'd hate someone else to miss it because a blogger didn't pay his hosting bill :)
Blorgbeard
No, I don't mind you editing the post since you improved it. :)
Craig Stuntz