How to enable JIT Debugger?

D

Dailli

I recently installed .NET Framework to run a program called Fake Mailer.
When I go to send an email with it, I get an unhandled exception error as
follows:

############################################################################
#
"An unhandled exception has occurred in your application. If you click
Continue, the application will ignore this error and attempt to continue.
If you click Quit, the application will be shut down immediately.

The system cannot find the file specified."
############################################################################
#

When I go to Details, I get the following:

############################################################################
#
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

<lot of stuff snipped>

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (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 machine
rather than being handled by this dialog.
############################################################################
###

I found the machine.config file and replaced the ..."jitDebugging="false" to
...."jitDebugging="true" and it had no effect. I also did a Google groups
search and the issue was addressed there, but nothing I could understand
well enough to use. Can anyone tell me how to fix this problem? Thanks
very much in advance!
 
W

Willy Denoyette [MVP]

You need the .NET SDK installed for this to work, the JIT Debugger is not inluded in the FX.

Willy.


Dailli wrote:

|| I found the machine.config file and replaced the
|| ..."jitDebugging="false" to ..."jitDebugging="true" and it had no
|| effect. I also did a Google groups search and the issue was
|| addressed there, but nothing I could understand well enough to use.
|| Can anyone tell me how to fix this problem? Thanks very much in
|| advance!
 

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