Tech Support Guy banner
Status
Not open for further replies.

JIT Debugging

9.4K views 2 replies 2 participants last post by  oldguy001  
#1 ·
I have several Lorex security cameras around my home. Recently I've been getting a JIT Debugging pop-up. The solution tells me to do the following:

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

As a layperson, I don't understand where and how to do this. My warranty and support services have long ago expired with LOREX. Please help. I am using Windows 7 Ultimate.
 
#2 · (Edited)
Take a read on MSDN docs:
https://docs.microsoft.com/en-us/vi...n-us/visualstudio/debugger/just-in-time-debugging-in-visual-studio?view=vs-2019

Alternatively:
https://docs.microsoft.com/en-us/vi.../en-us/visualstudio/debugger/debug-using-the-just-in-time-debugger?view=vs-2019

Basically you need to delete those 2 keys for x86 machine:
  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\DbgManagedDebugger
  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger
Or for x64 machine:
  • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\DbgManagedDebugger
  • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger

However if there is unhandled exception inside the program, it will crash.
 
Save
Status
Not open for further replies.
You have insufficient privileges to reply here.