Dubbging using JIT Debugger
-
have received the following error a few times now :- See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at test.tmrTimersTimer_Elapsed(Object sender, ElapsedEventArgs e) in C:\test\test.cs:line 1717 I have read how to enable JIT Debugging (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsdebug/html/vxtskEnablingJust-in-TimeDebuggingForWindowsForms.asp\[^\]). I have created MyApp.exe.config, machine.config with the following ?xml version="1.0" encoding="utf-8" ? configuration system.windows.forms jitDebugging="true" configuration NOTE < and > have been removed to allow posting I have placed them in the same folder as my .sln file and also in the same folder as .exe. But it does not seem to work. By the way I am using a setup project to install this applicaiton is there anything special I have to do in the setup project to allow JIT debugging on the installed machine? Anyone have any idea what I am doing wrong? I would like to enable JIT debugging permanently. Thanks, Liam