Breaking on exceptions immediately

When I am running my code with the dubugger I want the debugger to break immediately when an exception is thrown. 

I tried to follow the directions in

http://msdn2.microsoft.com/en-us/library/d14azbfh.aspx 

which tells me to choose the Exception option in the debug menu

BUT THERE IS NO SUCH OPTION!!   Where did it go  I have used it in the past (VS 2003). 

Help...



Answer this question

Breaking on exceptions immediately

  • Yeow#

    What profile are you using I am seeing this on all profiles assuming I have a solution open.

  • Paul Arsenault

    Tools/Import Export Settings, Reset Settings (Don't backup if you dont want to), select general profile. You should then see the exception item on the debug menu

  • Rubbrecht Philippe

    keniii,

    This option should be present on all versions in the same spot. If you are still having this issue, please respond to this thread.

    ~Ian



  • Screwy369

    Hi All,

    I'm having this same problem in VS 2005. The Exceptions option on the Debug Menu mentioned in the help file
    http://msdn2.microsoft.com/en-us/library/d14azbfh.aspx is not there. I'm running Microsoft Visual Studio 2005 Version 8.0.50727.42 on a Toshiba Protege M200; I'm not sure how to tell what profile I'm using.

    Cheers,

    Tim.


  • pdb

    Thanks - that worked well.
  • Breaking on exceptions immediately