The recent Lua question reminded me that debugging Lua scripts kinda sucks. You usually have to revert to print() debugging or rolling your own (Lua does provide debugging hooks to get at the callstack and set breakpoints).
After a bit of research and a number of trials, I've found Decoda to be the best Lua IDE / Debugger out there:
unknownworlds.com/decoda
It seemlessly attaches to your application, all you have to do is point to where the PDB files are. It supports projects, break points, call stacks, watches, can dynamically expand tables, etc. It catches Lua exceptions and asserts, so you can get a breakpoint when you accidentally try to dereference a nil value instead of dealing with LuaPlus::LuaException in C++. It also plays nicely with Visual Studio so you can attach both debuggers to the same process, allowing you to debug Lua and C++ at the same time.
The only downside? It's not free. It costs $50 for a license, though you can install it on as many computers as you like as long as you're not using them simultaneously. If you ask me, it's well worth the price if you do any significant Lua scripting. If you hold off on buying one video game, you'll have enough for it.
They have a 30 day trial as well.
-Rez
After a bit of research and a number of trials, I've found Decoda to be the best Lua IDE / Debugger out there:
unknownworlds.com/decoda
It seemlessly attaches to your application, all you have to do is point to where the PDB files are. It supports projects, break points, call stacks, watches, can dynamically expand tables, etc. It catches Lua exceptions and asserts, so you can get a breakpoint when you accidentally try to dereference a nil value instead of dealing with LuaPlus::LuaException in C++. It also plays nicely with Visual Studio so you can attach both debuggers to the same process, allowing you to debug Lua and C++ at the same time.
The only downside? It's not free. It costs $50 for a license, though you can install it on as many computers as you like as long as you're not using them simultaneously. If you ask me, it's well worth the price if you do any significant Lua scripting. If you hold off on buying one video game, you'll have enough for it.
They have a 30 day trial as well.
-Rez