What problem does it solve?
This Skill allows you to debug live Java applications by attaching to a running JVM, enabling you to set breakpoints, step through code, inspect variables, and analyze threads to diagnose and fix bugs.
Core Features & Use Cases
- Live JVM Debugging: Connect to a running Java application via JDWP.
- Breakpoint Management: Set, remove, enable, and disable breakpoints.
- Execution Control: Step over, step into, and step out of code.
- State Inspection: Inspect variables, evaluate expressions, and capture stack traces.
- Thread Analysis: Analyze thread states, detect deadlocks, and inspect thread dumps.
- Use Case: When a Java application is exhibiting unexpected behavior or crashing in production, use this Skill to attach to the live JVM, set breakpoints at critical junctures, and inspect the runtime state to pinpoint the root cause.
Quick Start
Use the debug skill to set a breakpoint at line 42 in the com.example.MyClass class.