LDT debugger [message #1110072] |
Mon, 16 September 2013 06:20  |
Eclipse User |
|
|
|
I'v managed to run LDT debugger Attach to Application Configuration following instructions given in this video: youtube.com/watch?v=cZdn1yDrH8Y
It wotks for Corona SDK, but there you had to start Corona Debugger first and then you could debug. I was wondering, when I want to remotely debug like this in emulated environment, do I need some other debugger or just debugger.lua module? How does exactly LDT debugger works? And how does remote LDT debugger works?
|
|
|
|
|
Re: LDT debugger [message #1113107 is a reply to message #1113024] |
Fri, 20 September 2013 12:52  |
Eclipse User |
|
|
|
Hi,
There're something strange, you talk about debugger.lua and debugintrospection.lua. This is a very old version of our debugger. Now all the debugger code stand in just one file. ("debugger.lua")
This old version is not compatible with lua 5.2. That's must explain the "attempt to call field 'getfenv'" error you can see in your log. (this function does not exist anymore in lua 5.2)
To debug lua 5.2 code, you need to use the last version of LDT (1.0)
When you use Lua Application or Remote Application Launch configuration you don't need to add debugger file in your project and to call require "debugger"(), this is automatically managed by LDT.
When you use Attach to application, you must add the debugger file and bootstrap it manually (There're a link to get the debugger.lua in the attach to application configuration dialog, as it explain in documentation)
|
|
|
Powered by
FUDForum. Page generated in 0.03105 seconds