Skip to content

btracer

Jaroslav Bachorik edited this page Jul 12, 2026 · 4 revisions

btracer

btracer launches an application with a pre-compiled BTrace probe. Use it when the probe must be active from application startup.

btracer [options] <script.class> <java-app-and-args>

Examples:

btracec MyTrace.java
btracer MyTrace.class java -jar myapp.jar
btracer MyTrace.class java -cp app.jar com.example.Main arg1

Run btracer -h for the options supported by the installed distribution. See the BTrace Wiki and BTrace 2.2.6 release for stable distribution details.

Clone this wiki locally