Re: debug .net runtime



I do have it break on exception. The error message happens while clearing
the child relations of a dataset. It looks like there may be event handlers
hooked to the OnCollectionChanging or OnCollectionChanged that are causing
the exception. There is a grid hooked up to the dataset that may be
listening to those events.

I'd like to be able to step into the Clear method to get a better idea.

"Alvin Bruney [Microsoft MVP]" <www.lulu.com/owc> wrote in message
news:uF3yWVWmFHA.1088@xxxxxxxxxxxxxxxxxxxxxxx
> Why don't you have the debugger break on an exception, it should give you
a
> good stack trace to run thru. I think it is more probably that there is
bad
> input going in than with the underlying framework itself. but, hey, you
> never know....
>
> --
> Regards
> Alvin Bruney
> [Shameless Author Plug]
> The Microsoft Office Web Components Black Book with .NET
> available at www.lulu.com/owc, Amazon, B&H etc
> --------------------------------------------------------------------------
-----
>
>
> "Darren" <deo.is@xxxxxxxxxxx> wrote in message
> news:OmgJISUmFHA.3312@xxxxxxxxxxxxxxxxxxxxxxx
> > Is there a debug version of the .net 1.1 runtime available?
> > I'm getting a null reference exception in system.data.dll and it doesn't
> > get
> > handled by a try catch.
> >
> > I'd like to step into the runtime to find out what is happening.
> >
> >
>
>


.



Relevant Pages

  • External component has thrown an exception
    ... I seem to get this exception when I open forms using ShowDialog() from ... event handlers. ... at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32 reason, ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: exception handling in event handlers
    ... We use the same approach for both UI and non-UI eventhandlers. ... > event handlers, we just log the exception. ...
    (microsoft.public.dotnet.framework.clr)
  • Re: Exception from Managed Component being swallowed in Interop
    ... Ian Tompsett wrote: ... AFAIK, errors raised in event handlers for COM ... could set an error flag and throw the exception ...
    (microsoft.public.dotnet.framework.interop)
  • Re: customizing validation script-injection error page.
    ... All exceptions can be captured in two places, using event handlers: ... Page object has the Error property ... Your task is to test the class of exception object and redirect to the ... and "Visual Input Security" at http://www.peterblum.com/vise/home.aspx ...
    (microsoft.public.dotnet.framework.aspnet.security)