eclipse-debug
Debug Java applications in Eclipse — set breakpoints, launch in debug mode, step through code, inspect stack traces, evaluate expressions, and hot-swap code changes.
pinned to #170d9bcupdated 2 weeks ago
Ask your AI client: “install skills/eclipse-debug”.
Requires the metahub MCP server installed in your client. Set up MCP.
mh install skills/eclipse-debugmetahub onboarded this repo on the author's behalf.
If you own github.com/gradusnikov/eclipse-chatgpt-plugin on GitHub, claim the listing to take over publishing. Your claim preserves the existing eval history and badges; only the curator label is replaced with verified-publisher on your next publish.
Stars
158
Last commit
2 weeks ago
Latest release
published
- #eclipse
- #eclipse-plugin
- #mcp
- #mcp-client
- #mcp-server
- #plugin
About this skill
Pulled from SKILL.md at publish time.
Full interactive debugging using Eclipse's JDT debugger. Set breakpoints, step through code, inspect variables, evaluate expressions, and hot-swap changes.
Allowed tools
- mcp__eclipse-runner__debugJavaApplication
- mcp__eclipse-runner__launchConfiguration
- mcp__eclipse-runner__listLaunchConfigurations
- mcp__eclipse-runner__stopApplication
- mcp__eclipse-runner__listActiveLaunches
- mcp__eclipse-runner__toggleBreakpoint
- mcp__eclipse-runner__setConditionalBreakpoint
- mcp__eclipse-runner__listBreakpoints
- mcp__eclipse-runner__removeAllBreakpoints
- mcp__eclipse-runner__getStackTrace
- mcp__eclipse-runner__evaluateExpression
- mcp__eclipse-runner__resumeDebug
- mcp__eclipse-runner__stepOver
- mcp__eclipse-runner__stepInto
- mcp__eclipse-runner__stepReturn
- mcp__eclipse-runner__hotCodeReplace
- mcp__eclipse-ide__getConsoleOutput
Evaluation report
WarningsAutomated checks the publisher passed at publish time — structure, docs, safety, and whether the artifact behaves as claimed.170d9bc· 2 weeks ago
Kind-specific
31Skill: SKILL.md present
found at .claude/skills/eclipse-debug/SKILL.md · frontmatter source: SKILL.md
Skill: body content present
409 words · 3,315 chars · 7 sections
Skill: triggers declaredwarn
No `trigger` phrases in SKILL.md frontmatter
Add `trigger:` lines so Claude knows when to activate this skill — e.g. `when building MCP servers` or `for diagram creation`.
Skill: allowed-tools scope
17 declared: mcp__eclipse-runner__debugJavaApplication, mcp__eclipse-runner__launchConfiguration, mcp__eclipse-runner__listLaunchConfigurations, mcp__eclipse-runner__stopApplication, mcp__eclipse-runner__listActiveLaunches (+12)
Release history
1- releasecurrent170d9bcwarn2 weeks ago
Contents
Debug Java Applications in Eclipse
Full interactive debugging using Eclipse's JDT debugger. Set breakpoints, step through code, inspect variables, evaluate expressions, and hot-swap changes.
Breakpoints
- toggleBreakpoint — Set or remove a line breakpoint. Provide
projectName,typeName(fully qualified), andlineNumber. - setConditionalBreakpoint — Set a breakpoint with a condition. Only triggers when the condition is true. Also supports
hitCount(trigger after N hits). - listBreakpoints — Show all breakpoints with location, enabled status, and conditions.
- removeAllBreakpoints — Clear all breakpoints.
Launch
- debugJavaApplication — Launch in debug mode. Same parameters as
runJavaApplicationbut defaults totimeout=0(background). The app stops at breakpoints. - launchConfiguration — Debug an existing saved launch configuration by name with
mode="debug", preserving its classpath, VM args, environment variables, working directory, and agent settings (e.g. JRebel). UselistLaunchConfigurationsto find the name. Breakpoints set viatoggleBreakpointstill apply.
Stepping (requires suspended thread)
- stepOver — Execute current line, don't enter method calls.
- stepInto — Enter the method call on the current line.
- stepReturn — Run until the current method returns.
- resumeDebug — Continue execution until next breakpoint or termination.
Inspection (requires suspended thread)
- getStackTrace — Show all threads with call stack. For the top frame, also shows local variables with their values and types.
- evaluateExpression — Evaluate any Java expression in the context of the suspended frame. Examples:
myList.size(),x + y,this.toString(),System.getProperty("user.dir").
Hot Code Replace
- hotCodeReplace — Push code changes into the running debug session without restarting. Triggers an incremental build and the JVM reloads changed classes.
Typical Debug Workflow
-
Set breakpoints where you want to pause:
toggleBreakpoint(projectName="myapp", typeName="com.example.Main", lineNumber="42") -
Launch in debug mode:
debugJavaApplication(projectName="myapp", mainClass="com.example.Main", timeout="0") -
Wait for breakpoint hit, then inspect:
getStackTrace(nameOrClass="Main") -
Evaluate expressions to understand state:
evaluateExpression(nameOrClass="Main", expression="myList.size()") -
Step through code:
stepOver(nameOrClass="Main") getStackTrace(nameOrClass="Main") -
Fix code and hot-swap without restarting:
# ... edit the file using eclipse-coder tools ... hotCodeReplace(nameOrClass="Main") resumeDebug(nameOrClass="Main") -
Clean up:
stopApplication(nameOrClass="Main") removeAllBreakpoints()
Notes
- All stepping/inspection tools match debug sessions by substring against the launch name or main class (
nameOrClassparameter) getStackTraceshows local variables only for the top frame to keep output manageableevaluateExpressionhas a 10-second timeout- Hot code replace works on most JVMs but has limitations (can't change method signatures or add/remove fields in some cases)
Reviews
No reviews yet. Be the first.
Related
Gpt Researcher
An autonomous agent that conducts deep research on any data using any LLM providers
Verification Before Completion
Evidence before assertions, always
Writing Plans
Turn specs into phased implementation plans
mh install skills/eclipse-debug