When you apply a probe statically, the Probekit instrumentation
engine inserts probe code and calls to the probe's classes into your application's
class files. Remove probe instrumentation from the class and JAR files for
your project when you modify probes, or when you no longer want to collect
probe data.
To remove probe instrumentation:
- Perform one of the following steps:
- Rebuild your project from the source code.
- Delete the instrumented class and JAR files, then remove the .bak file
name extension from the original, uninstrumented class and JAR files.
- If the project is a source project, perform the following steps:
- Clean and rebuild the probed project to clean the probe instrumentation
from the class files.
- Delete the _probe.class files. (Probekit copied the required _probe.class files
into the output container of the project when you applied the probe.)
- Rename all jar.bak files back to their original names.
- If the project is a binary project, perform the following steps:
- Remove the _probekit_probes_ folder from the class path for the
project. (Probekit created this folder and added it to the class path.)
- Delete the _probekit_probes_ folder.
- Rename all bak files back to their original names.