Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

What is debug used for?

Asked by 10 years ago

I randomly typed in 'debug' a while back, before my studio broke, but I'm not sure what it does? I meant to ask this a while back, but I forgot to.

1 answer

Log in to vote
1
Answered by
User#2 0
10 years ago

debug is one of Lua's libraries. Roblox, as with most all default lua libraries, such as io, has removed the debug library.

Other than that, it's just a library with useful methods/functions for debugging.

Trying to use it in roblox is useless, as it defaults to nil and will act like an unset value, unless you set it to something.

Ad

Answer this question