lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



Lua is a bit too brilliant, in fact, that no-one I know has made a decent debugger for it.. Also, after using it for 2-3 years now, I stopped missing one. :) That will happen to you as well, unless you prove us all wrong and actually do that gem.

Seriously, there is a Visual C++ plugin, which can even be used for remote debugging of Lua (running on non-Windows platform, s.a. XBox). Haven't tried in much, but.. you might be interested?

-ak


Brian Cameron kirjoitti 19.5.2005 kello 21.05:

Hi folks,

As a newbie to Lua I'm interested to find a good environment to debug my Lua programs so that I can poke around and learn more about how the language works in practice...

I've checked out the Wiki page (relating to addons), downloaded most of the packages and tried them briefly. I did not find anything that works out of the box on windows that provides the basic breakpoint/step/watch functionality I would like...

Did I miss a gem in there somewhere? Can anybody advise me on what to try? How are people debugging their large Lua programs?

Is there a version independent debugger which can work with different versions of Lua? (Even if it does mean recompiling.)

Alternatively, is it convenient to debug Lua by using something like Visual Studio to step over C calls to the Lua engine and then to examine the Lua state between the lines/chunks (I'm not sure what the unit of execution is)...

Cheers,
b.

BTW: Thanks for making Lua, it's brilliant!