Skip to main content



      Home
Home » Archived » Lua Development Tools » Issues with Source Mapping
Issues with Source Mapping [message #895113] Wed, 11 July 2012 13:52 Go to next message
Eclipse UserFriend
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
Eclipse UserFriend
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 Jul 03 11:02:12 EDT 2025

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

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

Back to the top