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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to