Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9019799
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T04:51:43+00:00 2026-06-16T04:51:43+00:00

Pressing F12 while the program is running in the debugger should break the execution

  • 0

Pressing F12 while the program is running in the debugger should break the execution and open the debugger. This works correctly on Windows XP (tested with D2007 and XE2) but fails on Windows 7 and 8 (also tested with D2007 and XE2; tested on three computers).

Registry is set up properly (Windows 7):

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug]
“UserDebuggerHotKey”=dword:00000000
“Debugger”=”\”C:\Windows\system32\vsjitdebugger.exe\” -p %ld -e %ld”

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\AutoExclusionList]
“DWM.exe”=dword:00000001

The XP installation also sets “Auto”=”1” and omits the AutoExclusionList but duplicating those changes on the Windows 7 machine accomplishes nothing.

The weird thing is that Delphi seems to be aware of the F12 being pressed. When I run a program in a debugger on a Windows 7 machine and press F12, Event Log window in Delphi shows

Thread Start: Thread ID: 4080. Process Project73.exe (7108)

Thread Exit: Thread ID: 4080. Process Project73.exe (7108)

It’s just that the breakpoint is not triggered and application keeps running.

Does anybody know how to restore this functionality in Windows 7/8?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T04:51:44+00:00Added an answer on June 16, 2026 at 4:51 am

    The Debugger sees that a new thread is started by Windows, but it doesn’t know what that thread is. In XP this thread runs into a int 3 break point (DebugBreak()), but under Vista and Windows 7+ the breakpoint isn’t hit anymore even if you set the registry key.

    There exists a Delphi IDE plugin that catches the thread and calls the DebugBreak() WinAPI function.
    http://andy.jgknet.de/blog/ide-tools/unsupported-tools/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can you open windows program by pressing a button on web page I
While debugging and keep pressing F5, if the source code does not exist, eclipse
In Visual Studio when going to definition by pressing F12, it takes you to
Here's this pressing problem that haven't worked out after working on it for days.
Sometimes in execution I get this error message in VS2010 when trying to free
When pressing Shift + Left + Alt + Print Windows switches into high contrast
I've grown very fond of the Devloper Tool in IE8 (pressing F12) but for
In google chrome there is something called Inspect element,you access it by pressing f12
There's really no pressing reason for me to ask this question other than curiosity
Possible Duplicate: android pressing back button should exit the app I am trying to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.