|lua attach debugger not working [message #1416894]
||Wed, 15 May 2013 18:02
| luo dd
Registered: May 2013
I am using the 0.9.0 ldt, and I have a win32 visual studio project, emmbed luajit 2.0 and some lua bindings in the project (including luaSocket). |
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?
Powered by FUDForum
. Page generated in 0.01590 seconds