Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Koneki » ldt under ubuntu 12.04 64bit not running
ldt under ubuntu 12.04 64bit not running [message #1416457] Mon, 21 May 2012 09:00 Go to next message
Volker Scheffold is currently offline Volker ScheffoldFriend
Messages: 8
Registered: May 2012
Junior Member
Hi,

after I installed ldt and tried to run it with:

lua -e "require('debugger')();"

I run into the following problems:

1.) lua: ./debugger.lua:155: Unable to determine the working directory.

After I fixed this, as I add the path hard into the program. I got the next error.

2.) lua: ./debugger.lua:1543: Cannot connect to 127.0.0.1:10000 : connection refused
stack traceback:
[C]: in function 'error'
./debugger.lua:1543: in function <./debugger.lua:1528>
(command line):1: in main chunk
[C]: ?

Does anyone has any idea?
Re: ldt under ubuntu 12.04 64bit not running [message #1416458 is a reply to message #1416457] Mon, 21 May 2012 09:23 Go to previous messageGo to next message
Eclipse UserFriend
Hi Volker,

Did you create -and launch- a debug configuration, prior to launching your script? See http://wiki.eclipse.org/Koneki/LDT/User_Guide#DBGP_Server

On a side note, what kind of Lua VM are you running? It seems weird that the debugger cannot figure out what your current working dir is. Cool that you figured out how to hardcode it though :)
Re: ldt under ubuntu 12.04 64bit not running [message #1416459 is a reply to message #1416458] Mon, 21 May 2012 10:15 Go to previous message
Volker Scheffold is currently offline Volker ScheffoldFriend
Messages: 8
Registered: May 2012
Junior Member
Hi Benjamin,

the lua version is:

Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio

And when I run:

base_dir = os.getenv("PWD")

direct from the lua interactive shell it works.

Yes I created a debug configuration.

With IDE key: luaidekey
Timeout(s): 30
Local Resolution

But, am I right, I have first to start the debugger with lua -e "require('debugger')();" from the commandline, then I can use it in eclipse?
Previous Topic:install ldt
Next Topic:Re: ldt under ubuntu 12.04 64bit not running
Goto Forum:
  


Current Time: Wed Apr 24 14:36:16 GMT 2024

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

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

Back to the top