BTrace JARs Available as Maven Artifacts

Thanks to being included in GlassFish v3, for integration with DTrace, the BTrace JARs are now available as Maven artifacts:

BTrace is is a safe, dynamic tracing tool for the Java platform. BTrace can be used to dynamically trace a running Java program (similar to DTrace for OpenSolaris applications and OS). BTrace dynamically instruments the classes of the target application to inject tracing code ("bytecode tracing"). Tracing code is expressed in Java programming language. There is also integration with DTrace for the OpenSolaris platform.

You can enhance VisualVM with the BTrace plugin to be able to write and deploy BTrace scripts directly from VisualVM. Alternatively, if you'd prefer you can run BTrace from command line shells as well.

There is also a NetBeans plugin that makes it easier to write and deploy BTrace scripts. You can get it here.

 

AttachmentSize
fig-1.png18.75 KB
0

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)