Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / August 2005

Tip: Looking for answers? Try searching our database.

debug .net runtime

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Darren - 04 Aug 2005 23:32 GMT
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.
Alvin Bruney [Microsoft MVP] - 05 Aug 2005 03:26 GMT
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....

Signature

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

> 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.
Darren - 05 Aug 2005 18:00 GMT
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.

> 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
[quoted text clipped - 7 lines]
> >
> > I'd like to step into the runtime to find out what is happening.
Alvin Bruney [Microsoft MVP] - 05 Aug 2005 20:11 GMT
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.

Signature

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

>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
[quoted text clipped - 21 lines]
>> >
>> > I'd like to step into the runtime to find out what is happening.
Erick Sgarbi - 05 Aug 2005 10:21 GMT
How is exception setup? Go Menu Debug->Exceptions.... is you debugger
setup up to break or to continue?

--
Erick Sgarbi
www.blog.csharpbox.com

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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.