debug.trace
Trace method calls on Java classes or packages to diagnose execution flow and performance issues. Captures call paths, counts, wall-clock time, and optional arguments in running JVMs.
Instructions
Trace method calls on a class/package. Returns immediately; use debug.trace_result to get the call path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aggregate | No | aggregate mode: count calls + wall-clock time per method | |
| class_pattern | Yes | e.g. com.example.service (appends * automatically) | |
| include_args | No | capture method args (slower) |