|
I have made an Excel add-in application, but it occurs the 'unhandled exception' and show dialog box. I want to debug it,actually I only want to know whereoccurs the exception in the code. I had doneit follow the below step, but it did not do the debug operation yet, and still show the dialog box. Anyone can tell me how to debug the application when I run the .exe application and occurs the 'unhandled exception'. Thanks.
Joey
************** 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.
|