1st chance exceptions in VS 2005
-
Hi, I used to work with VS 2003 and it has a feature that helped you to pin point when an exception was thrown. You could set the debugger to break when an exception was thrown (1st chance) rather than when an exception was not handled in the code (2nd chance). In VS 2005 with the exception assistance which I can't find how to configure to do the same thing. Can someone tell me how to do it? Till than I am using the cordbg.exe to do this. Ami
-
Hi, I used to work with VS 2003 and it has a feature that helped you to pin point when an exception was thrown. You could set the debugger to break when an exception was thrown (1st chance) rather than when an exception was not handled in the code (2nd chance). In VS 2005 with the exception assistance which I can't find how to configure to do the same thing. Can someone tell me how to do it? Till than I am using the cordbg.exe to do this. Ami
Debug | Exceptions to bring up the Exceptions dialog Common Language Runtime Exceptions -> Check the "Thrown" checkbox, it will now break when any CLR exceptions are thrown. Was it all that hard to find? :doh:
Formula 1 - Short for "F1 Racing" - named after the standard "help" key in Windows, it's a sport where participants desperately search through software help files trying to find actual documentation. It's tedious and somewhat cruel, most matches ending in a draw as no participant is able to find anything helpful. - Shog9 Ed
-
Hi, I used to work with VS 2003 and it has a feature that helped you to pin point when an exception was thrown. You could set the debugger to break when an exception was thrown (1st chance) rather than when an exception was not handled in the code (2nd chance). In VS 2005 with the exception assistance which I can't find how to configure to do the same thing. Can someone tell me how to do it? Till than I am using the cordbg.exe to do this. Ami
How about Debug -> Exceptions...? Just check the "Thrown" checkbox.
----------------------------- Get trial copy of FeinViewer - an integrated GDI objects viewer for Microsoft Visual Studio .NET 2005 (8.0) Visual C++ Debugger, and other convenience and productivity tools for Microsoft Visual Studio .NET at at www.FeinSoftware.com