[Mono-bugs] [Bug 571451] New: Debugger not breaking on Unhandled Exceptions in ASP.NET

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Jan 16 23:46:02 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=571451

http://bugzilla.novell.com/show_bug.cgi?id=571451#c0


           Summary: Debugger not breaking on Unhandled Exceptions in
                    ASP.NET
    Classification: Mono
           Product: Mono: Tools
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Visual Studio Integration
        AssignedTo: jpobst at novell.com
        ReportedBy: jhill at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Product Management
           Blocker: ---


Mono Tools debugger should break on exception, and display the standard
"Exception was unhandled by user code" dialog with options to inspect the
exception or copy the exception to the clipboard, etc.

Currently, the debugger has different behavior in different circumstances.  In
ASP.NET applications the debugger will not stop, and the exception will pass
through to be output in the webpage. 

Test Case:
Create a new ASP.NET page.  Throw an exception in Page_Load.  For instance:

using System;

namespace WebApplication1
{
    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Exception ex = new Exception("oh noes!");
            throw ex;
        }
    }
}

Start the project with "Debug on Mono".  Debugger will not break.  Error will
appear in page in browser.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list