#Using dbg_ref

1 messages · Page 1 of 1 (latest)

idle lynx
#

Hi folks! Im starting to use the dbg_ref functions and I got a couple questions:

Im getting crashes from an instance that gets deactivated when I pause the game. Is there a way to avoid this with the dbg functions?
How can I ref a global variable?

Thanks!

lusty oar
#

Hmmm can you give me a wee project that will show the problem and I will take a look

#

you should be able to ref a global just by doing dbg_ref( global, <variable> )

#

Just file the wee project as a bug and I will look out for it

idle lynx
#

Oh never mind 🤦 I was deactivating the debug object too and that was crashing the game.

opaque fiber
#

lol