Modifying probes

If you modify a probe and recompile it, you may need to remove probe instrumentation from your project's class and jar files and then reapply the probe.

  1. Open the project that contains the probe you want to modify.
  2. Double-click the probe and make your changes in the editor.
  3. Save your changes, then recompile the probe.
  4. Reapply the probe.

Some kinds of changes affect only the probe's class files, so you don't need to reinstrument your project's class and jar files to use the modified probe.

You don't need to reinstrument your project if:
  • you change only the source code for a fragment
  • you change the source code for a FragmentAtClassScope
  • you change an Import
Remove probe instrumentation from your project's class and jar files and reinstrument your project if:
  • you add or remove a Fragment object
  • you change the type of a Fragment object
  • you change, add, or remove any Data objects in a fragment
  • you change a probe's Target specification (you only need to reinstrument the class and jar files that would be affected by the change)

Parent topic: Creating and using probes

Related tasks
Removing probe instrumentation
Compiling probes
Applying probes

Copyright IBM Corporation and others 2000, 2004.