Debug my code

Typically: "How do I... ", "How can I... " questions
Post Reply
edney
Posts: 6
Joined: 11 Apr 2014, 15:38

Debug my code

Post 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

Eric
Posts: 186
Joined: 11 Feb 2013, 16:39

Re: Debug my code

Post by Eric »

Hi

You can find your answer here

Cheers

Eric

JohnnyMudcrab
Posts: 33
Joined: 07 Mar 2014, 12:26

Re: Debug my code

Post 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

Post Reply