Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Lua Development Tools » Issues with Source Mapping
Issues with Source Mapping [message #895113] Wed, 11 July 2012 17:52 Go to next message
Jason Lee is currently offline Jason LeeFriend
Messages: 1
Registered: July 2012
Junior Member
I'm trying to use remote debugging to attach a lua script, but I'm not having luck hitting any breakpoints. My guess is that I don't have my source mapping set up correctly; I've tried them all, but no luck with any.

I'm building lua 5.1.5 source into my application and calling scripts via lua_pcall. Could this be my problem?

The *.lua files are on my local machine, so it seems to make sense to use Local Resolution for my source mapping. I think I'm attached correctly, since I see print statements in the console window. The debug windows shows "Running coroutine(running)".

Is there something I'm going about wrong?
Re: Issues with Source Mapping [message #895558 is a reply to message #895113] Fri, 13 July 2012 14:19 Go to previous message
Simon Bernard is currently offline Simon BernardFriend
Messages: 341
Registered: July 2009
Senior Member
Hi Jason,
1. Did you try to use the option "Break on first line" ? You could activate it in the "Lua attach to application" debug configuration. This must works even if you have problem with path mapping.

2. If the files loaded by your VM are present in your LDT workspace, you should use the Local Resolution. How do you load your lua script (require, loadfile,loadstring) ?

3. Did the path of your file contain white spaces ? We fixed a bug about that recently.
Previous Topic:LDT code analysis and code assistance is not working
Next Topic:Keep debugger running
Goto Forum:

Current Time: Thu Oct 29 08:35:13 GMT 2020

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

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

Back to the top