Skip to main content



      Home
Home » Archived » Lua Development Tools » [version .9] Issues with Debug
[version .9] Issues with Debug [message #928443] Sun, 30 September 2012 12:29 Go to next message
Eclipse UserFriend
I have installed the latest version (5.1.4-46) of Lua for Windows.
I have installed the latest version (nightly .9.0.201209260857) of LDT in Eclipse.

I am a Lua newbie and just trying to get running/debugging of Lua working in Eclipse. I create a new Lua Project with a simple hello world script in main.lua.

local function main()
	local c = "hello world"
	print ( c )
end
main()


When I set up the Run and Debug Configurations and try to debug, it errors out with "Error within debug UI". The same script works just fine in SciTE however. I assume I am setting up the Run/Debug Config incorrectly. Is there a step-by-step description on how to do this?

Thank you so much! :)

[Updated on: Sun, 30 September 2012 13:30] by Moderator

Re: [version .9] Issues with Debug [message #929518 is a reply to message #928443] Mon, 01 October 2012 10:33 Go to previous messageGo to next message
Eclipse UserFriend
Hi Roy,

First, thanks to take time to post your feedback to enhance and find debug in the tool.

It seems that we can't reproduce the error "Error within debug UI".
I suppose you to use the installed lua interpreter ? Do you reproduce the bug using JNLua LDT embedded interpreter ? ( you can try it by changing a parameter in the launch configuration).
Maybe the error also throws an exception in log. Please, can you send us log files you can find in "<your_workspace>/.metadata/*log" where <your_workspace> is by default "<LDT installation directory>/workspace" ?

You can also find some debugger documentation in the user guide (but nothing detailled):
http://wiki.eclipse.org/Koneki/LDT/Developer_Area/User_Guides/User_Guide_0.9
(see "run a lua file" and "interpreters" parts)


Thank,
Marc
Re: [version .9] Issues with Debug [message #932844 is a reply to message #929518] Thu, 04 October 2012 09:42 Go to previous message
Eclipse UserFriend
Hi roy,
Forget stuff about jnlua, marc make a little mistake this code is not testable on our nightly repository. (it's a secret feature Cool)
Do you solve your problem ?
Previous Topic:how debug with my own Interpreter in local
Next Topic:Debugger opening wrong sourcefile
Goto Forum:
  


Current Time: Thu Jul 24 18:10:10 EDT 2025

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

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

Back to the top