Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Lua Development Tools » Debug problem(I am trying to debug lua script on remote machine with another OS)
Debug problem [message #777302] Tue, 10 January 2012 08:55 Go to next message
Josef Gazur is currently offline Josef GazurFriend
Messages: 6
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 10:11 Go to previous messageGo to next message
Josef Gazur is currently offline Josef GazurFriend
Messages: 6
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 10:25 Go to previous messageGo to next message
Benjamin Cabé is currently offline Benjamin CabéFriend
Messages: 201
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 21:49 Go to previous messageGo to next message
Istvan Szirtes is currently offline Istvan SzirtesFriend
Messages: 2
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 11:09 Go to previous message
Benjamin Cabé is currently offline Benjamin CabéFriend
Messages: 201
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: Thu Mar 28 12:58:21 GMT 2024

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

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

Back to the top