Forum posts for dwm.exe

F12 not working in Delphi debugger on Windows 7/8

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_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionAeDebug]
'UserDebuggerHotKey'=dword:00000000
'Debugger'=''C:Windowssystem32vsjitdebugger.exe' -p %ld -e %ld'

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionAeDebugAutoExclusionList]
'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?

View complete forum thread with replies

Other posts related to dwm.exe

See Related Forum Messages: Follow the Links Below to View Complete Thread

F12 not working in Delphi debugger on Windows 7/8
Is there anything to differentiate microsoft system processes running in a user's session wi…
Lost Windows 7 transparency DWM not working properly
Completely locking down Windows 7 using Python 3.2?
BitmapCache causes WPF application to lock up
Problem with explorer.exe and dwm.exe in Windows 7 [closed]
Dwm.exe memory leak when resizing simple WinForm application
How to get the second word on each line with regex?
Delphi 7 - Screenshot without capturing form - Windows 8 - DWM.exe
VB6 Drag and Drop Performance in Windows 8
Performance issue when resizing Win32 containing WPF

What is the carbon footprint of your coffee?

Is it low? Is it high? Can this things really kill the planet Earth? Maybe the answer will surprise you. Maybe not.