Tool to monitor/trace all method calls?

Ask a Question related to ASP.NET Building Controls, Design and Development.

  1. #1

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

    lisa@starways.net Guest

  2. Similar Questions and Discussions

    1. where is auto trace tool in illustrator cs win
      I have a simple shapr that I want to trace and then clean up a bit but can not find the auto trace tool in Illustrator CS for Windows. Can anyone...
    2. Concurrent Method Calls
      All, If I were to instantiate a component in the Application scope, how many concurrent calls to the same method of that component could...
    3. Trace tool question
      I hope some generous person will help a newbie. I am trying to make a line art outline of an image using the freehand 10 autotrace tool. I make a...
    4. Performance of web method calls
      Hi I have been timing a client application's response time when invoking a simple web method (it simply returns). A single test client invokes...
    5. Trace tool-->Path Overlap?
      Can anyone tell me what the heck the Path Overlap option controls in the Trace tool dialog box? I'm not seeing a difference when I change the...
  3. #2

    Default Re: Tool to monitor/trace all method calls?

    In message <1120687710.613803.76590@g43g2000cwa.googlegroups. com>,
    [email]lisa@starways.net[/email] 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:

    [url]http://www.compuware.com/products/devpartner/1969_ENG_HTML.htm[/url]

    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 Guest

  4. #3

    Default Re: Tool to monitor/trace all method calls?



    Steve Walker wrote:
    > In message <1120687710.613803.76590@g43g2000cwa.googlegroups. com>,
    > [email]lisa@starways.net[/email] 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:
    >
    > [url]http://www.compuware.com/products/devpartner/1969_ENG_HTML.htm[/url]
    >
    > 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.
    Thanks. I'll look at it.
    > 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.
    How can I do that? Sorry if that's a dumb question, but are you saying
    that I can see the call stack during execution without having to add a
    ton of extra code to my project?

    Lisa

    lisa@starways.net Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139