/dsjt

dead simple java tracer

Primary LanguageJava

Dead Simple Java Tracer

Prints a text stream of non-native method entry, return, and exception handling events.

I hacked this together because most of the Java method tracers that I found online wouldn't build for me (on OS X) or wouldn't work with the latest versions of Java.

Largely based off the code in this PDF.

Usage

make
# ensure asm-4.1.jar is in the same directory as Tracer.jar
java -javaagent:Tracer.jar Foo