Instanciate a UI-less debugger on your execution, allowing you to manipulate and inspect it via scripting.
The API is on the SindarinDebugger
class.
- Original author: Thomas Dupriez (dupriezt on github)
- Research paper: Sindarin: A Versatile Scripting API for the Pharo Debugger
dbg := SindarinDebugger debug: [<your code>].
"Manipulate and inspect the debugged execution by sending messages to dbg"
dbg step; stepOver.
dbg context inspect.
dbg currentNode inspect.
...
Metacello new
baseline: 'Sindarin';
repository: 'github://pharo-spec/ScriptableDebugger';
load.
Metacello new
baseline: 'Sindarin';
repository: 'github://pharo-spec/ScriptableDebugger:Pharo-11';
load.