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:
DivideByZeroException 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)

Re: "Send error report" instead stop for debug by Peter

Peter
Thu May 08 13:27:08 CDT 2008

On Thu, 08 May 2008 05:59:50 -0700, Neviton <nevitones@gmail.com> wrote:

> [...]
> 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

Re: "Send error report" instead stop for debug by Neviton

Neviton
Thu May 15 08:11:39 CDT 2008

> 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