PC Review


Reply
Thread Tools Rate Thread

debug .net runtime

 
 
Darren
Guest
Posts: n/a
 
      4th Aug 2005
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.


 
Reply With Quote
 
 
 
 
Alvin Bruney [Microsoft MVP]
Guest
Posts: n/a
 
      5th Aug 2005
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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.
>
>



 
Reply With Quote
 
Erick Sgarbi
Guest
Posts: n/a
 
      5th Aug 2005
How is exception setup? Go Menu Debug->Exceptions.... is you debugger
setup up to break or to continue?

--
Erick Sgarbi
www.blog.csharpbox.com



"Darren" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed):

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


 
Reply With Quote
 
Darren
Guest
Posts: n/a
 
      5th Aug 2005
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:(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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.
> >
> >

>
>



 
Reply With Quote
 
Alvin Bruney [Microsoft MVP]
Guest
Posts: n/a
 
      5th Aug 2005
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" <(E-Mail Removed)> wrote in message
news:OBXV6$(E-Mail Removed)...
>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:(E-Mail Removed)...
>> 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" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > 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.
>> >
>> >

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debug DLL Performance over runtime ones =?Utf-8?B?Sm9u?= Microsoft ASP .NET 1 31st Mar 2006 04:06 PM
Runtime Error Debug? Shay Windows XP Internet Explorer 1 30th Aug 2004 10:29 PM
RE: Runtime error debug? =?Utf-8?B?TXVycm1haWQ=?= Windows XP Internet Explorer 1 9th Jan 2004 06:32 PM
IE Runtime Error ( Debug) Moses Osei-Menya Flat 1 101 Burton Road London SW9 Windows XP Internet Explorer 1 30th Oct 2003 07:53 PM
Runtime Debug Error Adam Gaworski Windows XP Internet Explorer 1 6th Jul 2003 09:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:41 PM.