Smalltalk Debugger
Systematically debugs Pharo Smalltalk code by analyzing stack traces, inspecting object states, and applying structured error-handling patterns.
The source repository doesn't declare a license. Check its terms before reusing the code.
Key features
- Quick reference guides for common Smalltalk error types and their solutions.
- A core step-by-step debugging workflow: identify, verify, inspect, and fix.
- Essential patterns for safe code execution with error handling and detailed object state inspection.
- Guidance on using specific Smalltalk tools for code evaluation, source inspection, and searching for method implementors.
- Best practices including incremental testing, fixing code in Tonel files, and re-importing changes.
Use cases
- Resolving test failures by incrementally executing test code and inspecting values.
- Diagnosing runtime errors like `MessageNotUnderstood` or `KeyNotFound` by analyzing the stack trace.
- Investigating unexpected behavior by checking intermediate values in collection operations or complex methods.
FAQ
What does the Smalltalk Debugger skill do?
This skill equips Claude with a systematic workflow to debug Pharo Smalltalk code. It specializes in analyzing stack traces, inspecting object states, and applying structured error-handling patterns to efficiently find and fix bugs.
What key capabilities does it provide?
It offers a core debugging workflow, essential patterns for error handling, quick references for common Smalltalk errors like 'MessageNotUnderstood', and best practices for incremental testing and applying fixes in Tonel files. It also utilizes specific tools for code evaluation and source inspection.
When should I use this skill?
Use this skill whenever you encounter test failures, runtime errors, or unexpected behavior in Smalltalk. It's perfect for when you need to understand why code is failing, investigate a bug, or inspect an object's state at a specific point in execution.
How does this skill improve my workflow?
It provides a structured, step-by-step debugging process (identify, verify, inspect, fix) that saves time and reduces guesswork. By offering quick reference guides and best practices, it helps you resolve issues faster and write more reliable code.
Related skills
Lint Fixer
Identifies and resolves linting errors, formatting issues, and type discrepancies while maintaining code functionality.
Security Testing20,67612 ptsWheels Anti-Pattern Detector
Detects and automatically fixes common errors and anti-patterns in ColdFusion Wheels framework code before generation.
Security Testing20012 ptsCode Quality & Testing Framework
Enforces rigorous code quality standards and implements comprehensive multi-layer testing infrastructure to ensure production-grade software reliability.
Security Testing412 pts