[ACCEPTED]-DebugBreak not breaking-windows-7
Finally I found the cause of the issue. It's 5 a Vista/Win7 cause:
- Open The Action center control
- Goto Action Center settings
- Goto Problem Reporting Settings
- Choose "Each time a problem occurs, ask me before checking for solution"
Although this is more 4 of IT solution/question I've been plagued 3 with this problem all day and wanted to 2 share the solution with other developers 1 who encounter this problem.
I finally found the solution for Windows 8 10 here: https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/enabling-postmortem-debugging
And also: https://docs.microsoft.com/en-us/windows/desktop/Debug/configuring-automatic-debugging
To enable automatic debugger 7 launch, you should add a registry value:
- key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug
, valueAuto
=1
(of typeREG_DWORD
)
The 6 configured debugger is set the by the value 5 Debugger
(type REG_SZ
); a Visual Studio installation sets 4 this to:
"C:\WINDOWS\system32\vsjitdebugger.exe" -p %ld -e %ld
Note that on 64 bit OS this only 3 works for 64 bit executables. To enable the same 2 behaviour in 32 bit executables set the same values 1 in this key:
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows NT\CurrentVersion\AeDebug
In that case...
Here is the quick overview 12 of what you need to-do to enable debugging 11 on a Microsoft Windows 7 machine:
Update 10 the Just-In-Time debugger setting DbgJITDebugLaunchSetting. The 9 setting is found in the registry at [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework]
.
Set 8 the value of DbgJITDebugLaunchSetting to 7 2.
If you are using a 64bit operating system 6 then you must also set the same key (DbgJITDebugLaunchSetting) in 5 this folder [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework]
to 2.
If you run into any issues 4 try running CodeSmith Studio and Visual 3 Studio as an administrator.
Now when CodeSmith 2 enters a break point you will see something 1 like this:
More Related questions
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.