Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Koneki » lua attach debugger not working
lua attach debugger not working [message #1416894] Wed, 15 May 2013 18:02
luo dd is currently offline luo ddFriend
Messages: 6
Registered: May 2013
Junior Member
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?
Previous Topic:debugger hangs up and windows too
Next Topic:Re: lua attach debugger not working
Goto Forum:
  


Current Time: Fri Apr 19 10:19:51 GMT 2024

Powered by FUDForum. Page generated in 0.01925 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top