Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums[SOLVED] lua attach debugger not working
https://www.eclipse.org/forums/index.php/mv/msg/487591/1058913/#msg_1058913
I want to debug the lua script in my win32 app, so I follow the ldt user guide, add a debugger.lua(generated from ldt), add the code at the begining of my scripts:
local initconnection = require("debugger")
initconnection('127.0.0.1' , 10000 , 'luaidekey')
and create a default DBGp server in ldt.
When I launch the win32 app, I get this error:
LUA ERROR: E:/quick-cocos2d-x/sample/CoinFlip/scripts/debugger.lua:2622: E:/quic
k-cocos2d-x/sample/CoinFlip/scripts/debugger.lua:2556: calling 'getinfo' on bad
self (function or level expected)
Can anyone help me find out what the problem is , is there any configuration I am missing?
]]>luo dd2013-05-15T17:52:53-00:00Re: lua attach debugger not working
https://www.eclipse.org/forums/index.php/mv/msg/487591/1058917/#msg_1058917
gist.github.com/jdesgats/5383865/raw/56591f94f48a253a821a5610525b402206c3df96/debugger.lua
This is a custom version with a better support of LuaJIT FFI, see www.eclipse.org/forums/index.php/t/476088 for more details.]]>Julien Desgats2013-05-15T18:21:18-00:00Re: lua attach debugger not working
https://www.eclipse.org/forums/index.php/mv/msg/487591/1058920/#msg_1058920
This version contains some experimental patches that are not included in LDT 1.0, so please report any issues you may encounter. In particular it contains a plugin to inspect FFI data in LuaJIT.]]>Julien Desgats2013-05-16T18:43:45-00:00