Introducing Sanny Debugger
Added 2024-01-29 04:11:11 +0000 UTCSanny Builder 4 introduces many amazing features, including an updated UI, new classes, support for functions and scoped variables, and an improved language service, just to name a few. Now, the cherry on top: Sanny gains the ability to debug SCM scripts from the IDE.
Sanny Debugger allows you to connect to the game from the IDE and pause the execution of your script by adding breakpoints. You can step through your code one instruction at a time, inspect variables, and understand why your script behaves in a certain way. Dive deeply into the script to understand how it works—possibilities are endless.
You can watch the early teaser demo on YouTube:
https://www.youtube.com/watch?v=4-CiQZNQr18
Sanny Debugger (dubbed Sandy) is currently under active development and is not feature-complete at the time of writing. However, it can:
- Run the game in debug mode
- Attach to an already running game
- Set or remove breakpoints for instructions in SCM code
- Step into the code (execute one opcode at a time)
- Display local and global variable values
Planned features:
- Support for standalone CLEO scripts
- Support for GTA3 and VC
- Stepping over the code (skipping function/gosub calls)
- Running until return (pausing when the script exits the current function or gosub)
- Run to cursor
- Conditional breakpoints (only pause the execution if a certain condition is met)
- Changing variable values and the instruction pointer address
- More...
Thank you for supporting me here on Patreon. I will be releasing an early access version sometime next week (Edit: shared via Discord). Stay tuned!