Skip to content

refactor: split debugger tools by responsibility - #33

Merged
derekparker merged 1 commit into
masterfrom
refactor/split-tools
Sep 23, 2026
Merged

derekparker merged 1 commit into
masterfrom
refactor/split-tools

Conversation

@derekparker

Copy link
Copy Markdown
Member

Summary

Split the 2,102-line tools.go into cohesive files without changing behavior:

  • tools_session.go: session state, tool registration, and shared response helpers
  • tools_breakpoints.go: breakpoint tracking and breakpoint tools
  • tools_execution.go: startup, execution control, stop, and context flow
  • tools_inspection.go: evaluation, metadata, disassembly, scopes, and variables

This is the first PR in a three-part stack and is intentionally mechanical.

Verification

  • go vet ./...
  • go test -race -count=1 ./...
  • declaration-level comparison confirmed that no production declaration changed during the split

@derekparker
derekparker added this pull request to stack #36 September 23, 2026 18:49
@derekparker
derekparker merged commit 1102e75 into master Sep 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant