I am trying to debug a problem with a .net compact framework application I have running on windows mobile 6. It occurs when I call a web-service call on my development machine.
I don't need any help with the actual error, but with invoking the debugger at the correct time.
I run the web-service in debug mode and am able to trigger a breakpoint in visual studio fine so I know it is attached ok. The problem I have is that when my web service throws an exception, the web-service call immediately ends and the text of the exception appears on the screen of my mobile client. What I really want to happen is that the exception causes Visual Studio to break execution and allow me to use the debugger for further investigation. As you might imagine, not being able to get a line number is pretty frustrating as I have to step through the code line by line until the exception appears on the mobile client.
I've read on the web how you might wish to turn exceptions into SOAP ones for transmission to remote clients, I think this may be is what is happening but I don't want it to!