lua-users home
lua-l archive

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


On Sun, 2011-02-13 at 21:32 +0100, Gaspard Bucher wrote:
> Many thanks to Michal Kottman for his gdb helpers
> (https://github.com/mkottman/lua-gdb-helper).

> With the "luastack" debugging macro from these helpers, I discovered
> that the thread which I was running had been garbage collected at the
> time it was run due to a bug in my LuaCallback code not properly
> retaining the thread.

> Michal, you are the man !

Thanks, incidentally, I wrote the helpers to help me debug issues with
Lqt. Although the GDB macros are very limited (a full Lua
extension/binding to GDB would be awesome!), they provided enough power
to know what's going on with the Lua stack.