debug .net runtime

  • Thread starter Thread starter Darren
  • Start date Start date
D

Darren

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.
 
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
 
How is exception setup? Go Menu Debug->Exceptions.... is you debugger
setup up to break or to continue?
 
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 said:
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 said:
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.
 
i'm not sure if MSDN has a checked/debug version of the framework which is
what you would need since it contains the framework pdb. you may try posting
this in the clr newsgroup for further help.

--
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 said:
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 said:
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 said:
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.
 
Back
Top