Page 1 of 1

Debug my code

Posted: 02 Jun 2014, 13:47
by edney
Hello Friends,
How can i debug my script ?
How can i see my variable ?
Are there some monitor variables or debugger?

Anyone could help me about this ???


Thanks

Re: Debug my code

Posted: 02 Jun 2014, 14:57
by Eric
Hi

You can find your answer here

Cheers

Eric

Re: Debug my code

Posted: 02 Jun 2014, 16:31
by JohnnyMudcrab
hey

i mostly use this one for debugging, because it offers everything i want, is easy to use and don't have any dependencies.

https://github.com/slembcke/debugger.lua

If don't want to pollute your code with dbg() stops you can use a remote debugger, for example this one

https://github.com/LuaDist/mobdebug

ModDebug, however needs LuaSocket 2.0 in order to run.

best regards