Re: miniSphere 4.8.5
Reply #2105 –
Finally got breakpoints fully working in SSj. I couldn't get it to honor breakpoints in a .mjs, JsDiagSetBreakpoint() kept returning an error code. I thought it was a bug in ChakraCore not letting breakpoints work in modules but it turns out I was just tracking script IDs wrong (trying to set the breakpoint in the wrong script).
Only one thing still doesn't work in SSj: the examine command. With the Duktape engines you can use it to see all properties on an object and their attributes:
#/game_modules/console.js:86 [anon]
(ssj) x Sphere.Game
ew-c name "Spectacles: Bruce's Story"
ew-c version 1
ew-c saveID "fatCerberus.spectacles"
ew-c author "Fat Cerberus"
ew-c summary "Follow Scott Starcross in his quest to stop the Primus from destroying both worlds."
ew-c resolution "320x200"
ew-c main "@/scripts/main.js"
ew-c disableAnimations false
ew-c disableBattles false
ew-c disableSplash false
ew-c disableTalking false
ew-c disableTitleScreen false
I haven't implemented object inspection in JSAL yet though, so in the 5.0 alpha examine just acts like a normal eval:
#/game_modules/console.js:86 [anonymous function]
(ssj) x Sphere.Game
eval() = {...}