Before you can use a new or modified probe, you must compile it.
The probe compiler generates a Java source code file based on the probe specifications. If your .probe file is called your_pk.probe, then the generated file will be called your_pk_probe.java. If your workspace is set to auto-build modified resources, Eclipse compiles the generated Java source code into class files named your_pk_probe.class and your_pk_probe$Probe_0.class. If your .probe file contains more than one probe, there will be additional class files named your_pk_probe$Probe_1.class and so on. The class files contain the compiled probe fragments, as well as the supporting code that executes when you run your instrumented application.
In addition, the probe compiler generates a file named your_pk_probe.probescript. This file contains instructions for the byte-code instrumentation engine, telling it how to insert the probes into your project's class and jar files.
If your probe contains references to other packages and classes, you might need to change the probe's project settings so that the compile-time references can be resolved. These settings are found in Java Build Path.
,
Parent topic: Creating and using probes
Previous topic: Creating and editing probes
Next topic: Applying probes