Issues with Source Mapping [message #895113] |
Wed, 11 July 2012 13:52  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.26748 seconds