J
Jeroen
Hi,
I'm still struggling with a hard-to-reproduce scenario in my app where
we get an InvalidOperationException when closing the application. The
reason I'm posting about this again is because I'd love to hear some
suggestions on the following.
I've confirmed that the exception occurs *after* my app has finally
closed. If I set a breakpoint at the final '}' of my main method, then
go to the disassembly, and step through until *past* the final
statement (in my case "000004ef ret", whatever that may mean), only
*then* I receive the InvalidOperationException, in a VStudio debugger
screen that doesn't point to any particular user code...
My question then is: how do I debug this kind of problem??
I started to look into this using WinDbg, but that's not very user
friendly IMHO.
PS. This problem is caused by the WebBrowser control: if I exclude all
those controls in my app for a sec I won't get the exception. See also
my post here:
http://groups.google.nl/group/micro...lidOperationException+jeroen#8d8051941dd4e2c4
Any tips on how to debug this are very welcome.
Regards,
Jeroen
I'm still struggling with a hard-to-reproduce scenario in my app where
we get an InvalidOperationException when closing the application. The
reason I'm posting about this again is because I'd love to hear some
suggestions on the following.
I've confirmed that the exception occurs *after* my app has finally
closed. If I set a breakpoint at the final '}' of my main method, then
go to the disassembly, and step through until *past* the final
statement (in my case "000004ef ret", whatever that may mean), only
*then* I receive the InvalidOperationException, in a VStudio debugger
screen that doesn't point to any particular user code...
My question then is: how do I debug this kind of problem??
I started to look into this using WinDbg, but that's not very user
friendly IMHO.
PS. This problem is caused by the WebBrowser control: if I exclude all
those controls in my app for a sec I won't get the exception. See also
my post here:
http://groups.google.nl/group/micro...lidOperationException+jeroen#8d8051941dd4e2c4
Any tips on how to debug this are very welcome.
Regards,
Jeroen