asp.net will not break on exception

Discussion in 'ASP .Net Web Services' started by Tigger, Jun 29, 2006.

  1. Tigger

    Tigger Guest

    This is realy frustrating me.

    I've just converted one of my asp.net webservices to .net 2.0 and am
    trying to debug it.

    However, I just can't get it to break on exceptions making it very hard
    to track down the bugs.

    I have checked the My Code Only
    I attach to the aspnet_wp.exe process
    Break points ARE working
    I have checked EVERY box in the exceptions dialog

    And it will NOT break on exceptions or even catch unhandled exceptions.


    I have to track down where the exception happened and add a break point
    so I can debug it.

    The same seems to be happening for my asp.net websites as well.

    Tony
     
    Tigger, Jun 29, 2006
    #1
    1. Advertisements

  2. Tigger

    Dale Guest

    The only thing that comes to my mind is to make sure you're running in Debug
    mode. In VS .Net 2003, you could debug in Release mode if you set Generate
    Debugging Information to true.
    --
    Dale Preston
    MCAD C#
    MCSE, MCDBA


    "Tigger" wrote:

    > This is realy frustrating me.
    >
    > I've just converted one of my asp.net webservices to .net 2.0 and am
    > trying to debug it.
    >
    > However, I just can't get it to break on exceptions making it very hard
    > to track down the bugs.
    >
    > I have checked the My Code Only
    > I attach to the aspnet_wp.exe process
    > Break points ARE working
    > I have checked EVERY box in the exceptions dialog
    >
    > And it will NOT break on exceptions or even catch unhandled exceptions.
    >
    >
    > I have to track down where the exception happened and add a break point
    > so I can debug it.
    >
    > The same seems to be happening for my asp.net websites as well.
    >
    > Tony
    >
    >
     
    Dale, Jul 8, 2006
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andy Elmhorst
    Replies:
    2
    Views:
    706
    Bassel Tabbara [MSFT]
    Jul 8, 2003
  2. Andrew
    Replies:
    3
    Views:
    613
    Andrew
    Aug 22, 2003
  3. Maurice Walmsley

    Re: Windows Update Break ASP.NET 1.0 on WinXP Pro

    Maurice Walmsley, Aug 22, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    461
    Andrew
    Aug 22, 2003
  4. Jim Cheshire
    Replies:
    4
    Views:
    483
    Jim Cheshire
    Aug 23, 2003
  5. GrantMagic
    Replies:
    1
    Views:
    387
    GrantMagic
    Sep 15, 2004
  6. dm1608
    Replies:
    13
    Views:
    926
    Kevin Spencer
    Feb 24, 2006
  7. Peter Duniho

    Debugger doesn't break on exception?

    Peter Duniho, Jan 21, 2008, in forum: Java
    Replies:
    4
    Views:
    3,761
    Peter Duniho
    Jan 22, 2008
  8. Replies:
    12
    Views:
    1,383
Loading...