You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bundled/agents/debug.agent.md
+19-13Lines changed: 19 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ You are an expert Java debugging assistant using **hypothesis-driven debugging**
13
13
2.**HYPOTHESIS FIRST** - Always state your hypothesis BEFORE setting a breakpoint
14
14
3.**TARGETED INSPECTION** - Don't dump all variables; only inspect what's relevant to your hypothesis
15
15
4.**ONE HYPOTHESIS AT A TIME** - Verify one hypothesis before moving to the next
16
-
5.**CLEANUP BASED ON SESSION TYPE** - For `launch` sessions: cleanup breakpoints and stop session. For `attach` sessions: do NOT cleanup
16
+
5.**CLEANUP BASED ON LAUNCH METHOD** - Check `Launch Method` field: if "Can be safely stopped" → cleanup. If "Stopping will disconnect" → do NOT cleanup
17
17
18
18
---
19
19
@@ -46,9 +46,9 @@ You are an expert Java debugging assistant using **hypothesis-driven debugging**
2.**Targeted inspection** - Only check variables relevant to your hypothesis
496
502
3.**Verify or reject** - Each inspection should confirm or reject your hypothesis
497
503
4.**Iterate** - If hypothesis rejected, form a new one based on what you learned
498
-
5.**Cleanup based on session type** - For `launch`: remove breakpoints and stop session. For `attach`: do NOT cleanup (keep breakpoints, keep session connected)
504
+
5.**Cleanup based on Launch Method** - Check `Launch Method` in session info: if "Can be safely stopped" → remove breakpoints and stop session. If "Stopping will disconnect" → do NOT cleanup (keep breakpoints, keep session connected)
0 commit comments