Alexis Smirnov > .NET
Thinking about .NET




Wednesday, September 11, 2002
 

Another addition to .NET developer's toolbox: Peter Drayton has a very useful little utility  that allows provides automatic call tracing. Extremely easy to use and very practical for debussing those triky remoting or multithreaded pieces.

The TraceHook.NET service is a context attribute that provides automatic call tracing on attributed classes. It traces instance method calls & field/property accesses to the debug output, allowing one to monitor an application as it runs. The trace includes type names, method names, parameter names & values (both [in] & [out]), as well as any return codes or thrown exceptions. Full, commented source is included, thus it should also serve as an interesting demonstration of the use of context attributes & interception in the .NET platform.

The source code was based on beta release of .NET, so I've sent Peter a few code changes to make the tool work with the latest framework.


    


Subscribe to "Alexis Smirnov > .NET" in Radio UserLand. Click to see the XML version of this web page. Click here to send an email to the editor of this weblog.
Site Statistics
© Copyright 2003 Alexis Smirnov.


Last update: 5/6/2003; 5:44:25 PM.

September 2002
Sun Mon Tue Wed Thu Fri Sat
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          
Aug   Oct

Aug 2002