Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Koneki » Issues with Source Mapping
Issues with Source Mapping [message #895113] Wed, 11 July 2012 13:52 Go to next message
Jason Lee is currently offline Jason Lee
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 10:19 Go to previous message
Simon Bernard is currently offline Simon Bernard
Messages: 154
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: Wed Apr 23 02:47:06 EDT 2014

Powered by FUDForum. Page generated in 0.01641 seconds