Use Probekit to customize Java profiling |
Probekit is a framework that you can use to write Java fragments called probes. The fragments are called "probes" because they let you probe the workings of a Java program as the program runs, just as an electrical probe lets you observe the workings of an electrical circuit while the circuit is active. A probe is applied whenever a specific event occurs in the program that you are investigating. For example, you can create a probe to be applied whenever a specified method starts executing. A probe can report detailed runtime information about objects, instance variables, arguments, and exceptions. This tutorial shows you how to create a simple probe and apply it to a program. It also makes suggestions for more complex probes that you can use to analyze problems in your code's runtime behavior. ![]() |
![]() |