"Send error report" instead stop for debug

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Neviton

    "Send error report" instead stop for debug

    Hi everyone

    When I put the below lines in the Form_Load event(its just a example
    to raise a exception):

    int x = 0;
    int y = 1 / x;

    and run the application using VS2005 the normal behavior is the VS
    stop the application and show me this error:
    DivideByZeroExc eption was unhandled
    Attempted to divide by zero.

    Well... for while its all ok, but...

    If I just add a Flash activex in the form(it works fine) the VS dont
    stop the application when I run it with the same lines in the
    Form_Load event(showed above) and I get a "Send report error" window.

    The problem is that this is preventing me of debug my application.

    Any idea of why this is happen and how can I change this undesirable
    behavior?
    Thanks a lot.
    (forgive my bad english)
  • Peter Duniho

    #2
    Re: "Send error report" instead stop for debug

    On Thu, 08 May 2008 05:59:50 -0700, Neviton <nevitones@gmai l.comwrote:
    [...]
    If I just add a Flash activex in the form(it works fine) the VS dont
    stop the application when I run it with the same lines in the
    Form_Load event(showed above) and I get a "Send report error" window.
    >
    The problem is that this is preventing me of debug my application.
    >
    Any idea of why this is happen and how can I change this undesirable
    behavior?
    That sounds a bit like the "mixed managed/unmanaged" debugging issue that
    someone else was just asking about. Look around in the debugger settings
    for something related to that; there's probably something you need to
    enable or disable that will allow you to still debug when unmanaged code
    is executing in your process.

    Pete

    Comment

    • Neviton

      #3
      Re: &quot;Send error report&quot; instead stop for debug

      That sounds a bit like the "mixed managed/unmanaged" debugging issue that
      someone else was just asking about. Look around in the debugger settings
      for something related to that; there's probably something you need to
      enable or disable that will allow you to still debug when unmanaged code
      is executing in your process.
      >
      Pete
      Thank you Peter

      You were absolutely right !!!

      Now we can debug again hehehehe
      Thanx a lot

      Comment

      Working...