Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio
  4. 1st chance exceptions in VS 2005

1st chance exceptions in VS 2005

Scheduled Pinned Locked Moved Visual Studio
visual-studiodebuggingtutorialquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Ami Bar
    wrote on last edited by
    #1

    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

    E V 2 Replies Last reply
    0
    • A Ami Bar

      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

      E Offline
      E Offline
      Ed Poore
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • A Ami Bar

        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

        V Offline
        V Offline
        vladfein
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups