RE: "not handled in user code" dialog

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi Leslie,

Yes, I have got your email and sample project.

Unfortunately, after setting Web Share for your project, I was unable to
debug in on my side. It always reports an error dialog. Can you please give
it a recheck of your project?

Anyway, I have tried to give a review over your project and your word doc.
It seems that your current concern is not unhandled exception in unknown
worker thread, but how to disable the MDA dialog for the exception, yes?
Please confirm my understand on your requirement, then I will research
toward this.

Below is my comment to your 2 workarounds:
1. In my VS2005, the System.Exception in Debug->Exceptions dialog is not
checked, however, the MDA dialog still pops up in debug mode. Does this
approach work on your side? I hope you give it a recheck. Thanks.
2. I have tried this approach, my code snippet is listed below:
public class testexcept : Exception
{
}

protected void Page_Load(object sender, EventArgs e)
{
throw new testexcept ();
}
However, the MDA dialog still pops up, so it seems that these 2 approaches
both do not work on my side.

I look forward to getting further confirmation from you.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

.



Relevant Pages

  • RE: Step by Step skips large chunks of code
    ... The interesting thing is that it still skips code during debug but not ... has been correctly complied into assembly code. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.vsnet.debugging)
  • Re: debug build crashes when calling managed code
    ... enable debug info you *should* be able to still debug. ... Look forward to your response. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.vc.language)
  • RE: Unable to copy file. ... Access to the path ... is denied.
    ... The Debug Directory was included in the project. ... ** it the service app used(configured in windows Service manager) when you ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.vsnet.general)
  • Re: attach to process not started in debug mode?
    ... Jeffrey - I've got a box at a remote ISP where I may need to debug the app from ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework)
  • Re: VS2005 conditional directive
    ... I still see "Debug" displayed. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ... project analysis and dump analysis issues. ...
    (microsoft.public.vsnet.general)