|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Tool to monitor/trace all method calls?Debugging in .NET is so obnoxious. More often than not, due to the
whole object oriented thing, the errors I'm getting are inside of objects that I then have to open up and poke through. I can do that. It's not the end of the world. But it takes forever. SQL Server has a trace utility (SQL Profiler). Has anyone made anything comparable for .NET? Something that I can turn on and will display a record every time a method gets called or a property gets accessed or an event gets raised? I've searched, but I haven't succeeded in finding anything. Anyone? In message <1120687710.613803.76***@g43g2000cwa.googlegroups.com>,
l***@starways.net writes >Debugging in .NET is so obnoxious. More often than not, due to the Have a look at:>whole object oriented thing, the errors I'm getting are inside of >objects that I then have to open up and poke through. > >I can do that. It's not the end of the world. But it takes forever. > >SQL Server has a trace utility (SQL Profiler). Has anyone made >anything comparable for .NET? Something that I can turn on and will >display a record every time a method gets called or a property gets >accessed or an event gets raised? > >I've searched, but I haven't succeeded in finding anything. http://www.compuware.com/products/devpartner/1969_ENG_HTML.htm I can't remember what all of the tools do, but the kind of thing you're looking for is definitely their kind of product. The problem you may have is that a well designed OO system is likely to exhibit a far higher number of calls than you would see with SQLProfiler, so you won't realistically be able to do it real-time. I'm not sure you'll really get anything more valuable than a call stack, which you can view through the Visual Studio IDE anyway. -- Steve Walker Steve Walker wrote:
Show quoteHide quote > In message <1120687710.613803.76***@g43g2000cwa.googlegroups.com>, Thanks. I'll look at it.> l***@starways.net writes > >Debugging in .NET is so obnoxious. More often than not, due to the > >whole object oriented thing, the errors I'm getting are inside of > >objects that I then have to open up and poke through. > > > >I can do that. It's not the end of the world. But it takes forever. > > > >SQL Server has a trace utility (SQL Profiler). Has anyone made > >anything comparable for .NET? Something that I can turn on and will > >display a record every time a method gets called or a property gets > >accessed or an event gets raised? > > > >I've searched, but I haven't succeeded in finding anything. > > Have a look at: > > http://www.compuware.com/products/devpartner/1969_ENG_HTML.htm > > I can't remember what all of the tools do, but the kind of thing you're > looking for is definitely their kind of product. > The problem you may have is that a well designed OO system is likely to How can I do that? Sorry if that's a dumb question, but are you saying> exhibit a far higher number of calls than you would see with > SQLProfiler, so you won't realistically be able to do it real-time. I'm > not sure you'll really get anything more valuable than a call stack, > which you can view through the Visual Studio IDE anyway. that I can see the call stack during execution without having to add a ton of extra code to my project? Lisa
I guess this can't be done can it ?
Unhappy call to a 2nd dataItem in ItemTemplate of an asp:TemplateC Webcontrol Designer Awareness... Re: accessibility and asp:button Register directive for custom web control in VS 2005 Beta 2 accessing a specific cotrol from web DataGrid control. Textbox question (v2.0) Page is not submitted using Client side validation of.NET validato Button to link with DataGrid problems with activex controls on web page |
|||||||||||||||||||||||