Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Koneki » Debug problem(I am trying to debug lua script on remote machine with another OS)
Debug problem [message #777302] Tue, 10 January 2012 03:55 Go to next message
Josef Gazur is currently offline Josef Gazur
Messages: 3
Registered: January 2012
Junior Member
Hello all,

Is in LDT possible to debug script, which is located on remote machine with another OS?

I am trying to debug script with following configuration:

DBGP Server: Eclipse IDE 3.7.1 (x64), my PC with Win 7 (x64),
DBGP Client: remote linux machine (2.6.12)

When I tried to debug the script only on local machine, it works fine, but the remote debug failed, because the breakpoint was not catched.

I think that I have bad configurated the Source Mapping, but I don't know how can I map
the local file on my machine and remote file on Linux machine.

If you have had any ideas, please let me know.

Regards Josef G.

Re: Debug problem [message #777347 is a reply to message #777302] Tue, 10 January 2012 05:11 Go to previous messageGo to next message
Josef Gazur is currently offline Josef Gazur
Messages: 3
Registered: January 2012
Junior Member
Uuupsss.

My fault.

The problem was with source mapping. I use the "Replace path resolution" choice and put the right path to the script and it works.
Re: Debug problem [message #777357 is a reply to message #777347] Tue, 10 January 2012 05:25 Go to previous messageGo to next message
Benjamin Cabé is currently offline Benjamin Cabé
Messages: 151
Registered: July 2009
Location: Toulouse, France
Senior Member

That's great then! Smile
Re: Debug problem [message #780909 is a reply to message #777302] Thu, 19 January 2012 16:49 Go to previous messageGo to next message
Istvan Szirtes is currently offline Istvan Szirtes
Messages: 1
Registered: January 2012
Junior Member
Hi,

I have a same problem with LDT on Win7/Eclipse Indigo SR1.
I can debug or run a samlpe main.lua file.

I have installed lua 5.1.4 (c:\Program Files (x86)\Lua\5.1\lua.exe)
I have insatlled Eclipse which works well with Pydev (I use it a lot).

The leancher runs to 70% and wait for the IDE...
and I get an error message: "Process "Lua" takes too long to connect to IDE...

What is it what I do wrong?

Thanks,

Re: Debug problem [message #781073 is a reply to message #780909] Fri, 20 January 2012 06:09 Go to previous message
Benjamin Cabé is currently offline Benjamin Cabé
Messages: 151
Registered: July 2009
Location: Toulouse, France
Senior Member

Hi Istvan,
If I understand it correctly, you have managed to perform a debug session when running the IDE and the script on the same machine, but didn't when trying from different machines?

Have you had a look at the "Source mapping" documentation http://wiki.eclipse.org/Koneki/LDT/User_Guide#DBGP_Server . It is important that the paths of the files mounted in your IDE are correctly mapped to the paths of the scripts you are running.
Let us know if you still have issues, there's certainly room for improvements in the documentation...
Previous Topic:Cannot install LDT on Eclipse 3.6.2 (Win 7 x64)
Next Topic:Syntax Coloring
Goto Forum:
  


Current Time: Tue Jul 22 13:46:15 EDT 2014

Powered by FUDForum. Page generated in 0.01891 seconds