VS.Net debugger?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I'm trying to debug a solution with two projects; a DLL that does some heavy
lifting, and a WinForms app that acts as a front-end GUI for the DLL. I'm
using VS.Net to develop and debug the solution.

I'm debugging the GUI project right now, and the VS.Net debugger works as I
would expect for exceptions thrown in in that project. But the VS.Net
debugger doesn't work for exceptions that occur in the DLL project when it's
called by the GUI, even though the DLL was compiled in debug mode, has a PDB
file, and is part of the same solution as the GUI. Instead, I'm getting a
dialog with a stack dump and language about how to invoke the JIT debugger.
I tried those steps, with no luck.

How come the VS.Net debugger isn't trapping the error? Am I limited to JIT
debugging? If so, is there any reliable source on how to get it working?
I've been through dozens of posts on enabling JIT debugging, but nodbody
seems to be able to get it working properly.

Thanks in advance for your help.

David Veeneman
Foresight Systems


.



Relevant Pages

  • Re: How to connect to children process
    ... Main problem is amount of manual operations required per debug cycle. ... connection to DLL with debugger takes sensible amount of time and manual ... Is the main problem that the debugger keeps symbols file loaded ... AFAIK that's how VS2003 debugger works, but WinDbg should usually ...
    (microsoft.public.vsnet.debugging)
  • Re: VS.Net debugger?
    ... Do you have a reference to the Debug version of the dll (or is your ... > I'm debugging the GUI project right now, and the VS.Net debugger works as ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How to connect to children process
    ... AFAIK that's how VS2003 debugger works, ... unload symbols completely after the dll ... Also, when setting breakpoint on the needed function (in WinDbg), ... I'm creating code with int 3 in place that I'm willing debug. ...
    (microsoft.public.vsnet.debugging)
  • Re: Access violation in MSXML.dll ???
    ... Are you building your DLL with fully debug or with retail? ... the code gets executed just enough for the debugger to be able to figure out ... Below is the destructor for XML module: ...
    (microsoft.public.windowsce.embedded)
  • Re: Need help troubleshooting perfmon extension dll
    ... same code into a 32-bit dll, and install it on a 32-bit OS (XP, to begin ... The debug output ... Shouldn't the debugger get the first chance, ...
    (microsoft.public.win32.programmer.kernel)