Registered JIT debugger is not avaiable

W

WebNewsReader

when opening an aplication I'm getting this error:
« - No debugger found
Registered JIT debugger is not avaiable. An attempt to launch a JIT debugger
with the following command resulted in an error code of 0x2 (2). Please
check computer settings.
cordbg.exe !a 0x914
Click on Retry to have the process wait while attaching a debugger manualy.
Click on Cancel to abort the JIT debug request.»

Tried to uninstall and reinstall net framework 1.1 and the same with net
framework 2.0 but the problem remains.
Also did the same with java 1505
Any other suggestion would be preciated
 
N

Nick Hertl

In the time of V1.1, the JIT debuging system was a bit silly in a
number of ways. One of those ways is that if you accidentally set up
your computer for JIT debugging but didn't specify which one you
wanted, it would default to "cordbg.exe !a 0x%x" where %x is the hex
incoded process ID of the crashing process.

What this means to you is that your process is crashing. The runtime
is trying to automatically launch a debugger for you, but your registry
doesn't specify which one to use, so it just tries to use the default.
Since that's not there you get this really un-useful error message.

Assuming you are using V2.0, here are some things that you could do to
fix the problem:

1) Modify the registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\DbgJITDebugLaunchSetting
to be a REG_DWORD with value 0x10 (16) This will cause the Watson
(dw20.exe) dialog to pop up giving you more useful options.

2) If you plan to debug, you will need a debugger registered:
a) For managed debuggers, put the value in this reg key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\DbgManagedDebugger
b) For native debuggers, put the value in this reg key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\AeDebug\Debugger

In any case, whatever you do, basically the problem here is that your
application has a problem. The symptoms that you are seeing are just a
bit confusing in how they tell you about that.

I hope this helps you. :)
 
G

Guest

Dear sir !
I have a similar trouble.
But your reply not help me anything, I do step you write but nothing happen.
I write a Window service, and built a setup to run in another computer
,before it run well.
When I call Debugger.Launch() , and rebuil the setup, the error appear when
I run service in that computer.
But When I built setup in other computer , it run well. I can not built
setup in My Computer.
Ah, You write that : "This will cause the Watson (dw20.exe) dialog to pop up
giving you more useful options" . I don't understand this sentence, when
dw20.exe run, how it run ?
And "a) For managed debuggers, put the value in this reg key" : I don't know
what is the value , Is it 16 , or something ?
I hope you can write the help clearly !!!
Please help me .
Thanks a lot !
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top