Running a project with probes

After you have applied your probes to a project's class files and jar files, you can run the project to collect data.

  1. Ensure that your project's run-time CLASSPATH variable includes the folder that contains the probe's generated class files. To add the folder, in the Classpath tab of the Run or Debug dialog box, clear the Use default class path checkbox and add the probe project to the classpath.

  2. Run your project exactly the way you would run it without probes.

Note: For some types of target programs (including Eclipse itself), because of custom class loaders, the generated class files must be in a folder that is on BOOTCLASSPATH instead of CLASSPATH.

 

Parent topic

Creating and using probes

Previous topic: Applying probes