Fabrice's weblog

Tools and Source

News

My .NET Toolbox
An error occured. See the script errors signaled by your web browser.
No tools selected yet
.NET tools by SharpToolbox.com

Read sample chapters or buy LINQ in Action now!
Our LINQ book is also available on AMAZON

.NET jobs

Emplois .NET

Tuneo

ASP.NET Hosting transatlantys

Contact

Me

Others

Selected content

Archives

AOP for tracing

Simon Mourier says that he is "missing good tracing support from the CLR".

In my opinion, this is one area where AOP (Aspect Oriented Programming) can bring value into. Although the tools are not ready yet for prime time for .NET, it should be possible with AOP to dynamically activate trace for an application or specific methods of an application with a config file or a GUI.
I know that LOOM.NET has an exemple of this. Dunno for the others.

Although not quite AOP, but a post-compiler instead, we can do that with eXtensible C# (including getting the values of parameters). If someone is interested in having an example of this, just let me know.

I guess AspectJ covers this for Java as it is very advanced compared to what we have for .NET.

Comments

Dumky said:

I'm experimenting with runtime IL instrumentation to add tracing to the methods (and maybe variables) that you want.

http://blog.monstuff.com/archives/000058.html

It is still progressing although not very fast (I get very distracted ;-)

Cheers
Dumky
# July 17, 2003 12:02 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)