Instanciate a UI-less debugger on your execution, allowing you to manipulate and inspect it via scripting.
The API is on the SindarinDebugger class.
Research paper: Sindarin: A Versatile Scripting API for the Pharo Debugger
- Steven Costiou (2019 - ...)
- Adrien Vanègue (2022 - 2024)
- Thomas Dupriez (2019 - 2021)
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.