[SOLVED] lua attach debugger not working [message #1058913] |
Wed, 15 May 2013 13:52  |
Eclipse User |
|
|
|
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?
[Updated on: Thu, 16 May 2013 18:21] by Moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03306 seconds