arthas_stack
Retrieve the call stack of a method in a live Java process. Runs in background with optional inline completion or returns a job ID for asynchronous retrieval.
Instructions
Get the call stack of a method. Runs in background; waits up to awaitMs for completion and returns results inline if done, otherwise returns a job ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of stacks (default: 5) | |
| awaitMs | No | Wait up to this many ms for inline completion (default: 5000; pass 0 for pure async) | |
| timeout | No | Timeout in ms | |
| condition | No | Conditional expression | |
| classPattern | Yes | Class name pattern | |
| methodPattern | Yes | Method name pattern |