JIT debugging.

Passerelle
09-14-2005, 12:12 PM
Hi,

After deploying my application in a diferent computer than that one in witch that application has been made, when I try to open a form control ( DateTimePicker) I receive the following message :

************** 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.

Does anyone have an idea about what I'm doing wrong?

Thank you in advance.


Paulo

by_m
09-14-2005, 02:06 PM
Simply put, your application ran into an error and since JIT debugging is disabled it shows you that. JIT debugging would give you an error report from the .Net framework.
You aren't really doing anything wrong, per se, you just need to enable JIT debugging if you want to see where the problem is. Alternatively you could just try and figure it out by seeing what could be wrong on the computer you deployed it too that isn't wrong with your development computer. There isn't really much that that message shows other than that your program has a problem, so unless you give some more info, your on your own figuring out what's wrong with your program.

Passerelle
09-14-2005, 03:05 PM
Hi again,

Can you explain me how to enable JIT debugging?

sgt_pinky
09-14-2005, 08:10 PM
Sure:

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>


The machine.config file is in "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\CONFIG".

You need a debugger installed on the computer you want to use JIT debugging on. I don't use it.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum