Trace any method in any assembly in any (live) .NET process!
Here's an example: attaching to a live .NET process (e.g. a GUI written in Visual Basic, to track the killer's IP!), and tracing an OnClick
method of System.Windows.Forms.Button
.
The output is a method call with captured parameter and return values (when available).
dnTrace is powered by CodeCop - a library that allows intercepting any method in .NET, using external JSON configuration or a Fluent API.
Note: CodeCop is a commercial library with a free version that allows tracing up to 25 methods per session. If you require more, you could purchase a license to CodeCop, and apply it to dnTrace.
Please visit http://getcodecop.com for more information.
This tool wouldn't have been possible without the use of such wonderful libraries as:
- CodeCop - method interception and runtime instrumentation
- dnlib - a .NET assembly reader/writer library
- pinvoke - a collection of libraries that contain P/Invoke signatures
- Colorful.Console - a
System.Console
wrapper with colorful output - CommandLineParser - a command-line parsing library