Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Lua Development Tools » ldt debugger.lua in android or IOS platform
ldt debugger.lua in android or IOS platform [message #1244362] Wed, 12 February 2014 08:07 Go to next message
chuanwei zhang is currently offline chuanwei zhang
Messages: 4
Registered: February 2014
Junior Member

require('debugger')("10.10.30.92","10000","luaidekey","debugger.transport.luasocket");


I used koneki ldt debugger in windows platform and MAC platform ,it's ok.
but it can't debug in android machine and ios.
may be it can't support in android and ios?

I don't know,who can tell me how to set,and give me a solution.

And i find in platform.lua have as followed code:

function M.init(executionplatform,workingdirectory)
--------------------------
-- define current platform
--------------------------
-- check parameter
if executionplatform and executionplatform ~= "unix" and executionplatform ~="win" then
error("Unable to initialize platform module : execution platform should be 'unix' or 'win'.")
end

Re: ldt debugger.lua in android or IOS platform [message #1244577 is a reply to message #1244362] Wed, 12 February 2014 14:47 Go to previous messageGo to next message
Simon Bernard is currently offline Simon Bernard
Messages: 287
Registered: July 2009
Senior Member
Try this :
require('debugger')("10.10.30.92","10000","luaidekey",nil,"unix","/your/working/dir/path");
or
require('debugger')("10.10.30.92","10000","luaidekey","debugger.transport.luasocket","unix","/your/working/dir/path");
Tell us if it works. Smile
Re: ldt debugger.lua in android or IOS platform [message #1245711 is a reply to message #1244577] Fri, 14 February 2014 06:23 Go to previous message
chuanwei zhang is currently offline chuanwei zhang
Messages: 4
Registered: February 2014
Junior Member
sorry,it can work.but can't set breakpoint or set breakpoint on first line . tell me why,thank you

can you give me a sample project.

thanks.

[Updated on: Fri, 14 February 2014 06:26]

Report message to a moderator

Previous Topic:Lua Modules
Next Topic:Autocomplete in eclipse with MOAI Lua
Goto Forum:
  


Current Time: Wed Oct 22 12:21:58 GMT 2014

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

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