Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Lua Development Tools » [version .9] Issues with Debug
[version .9] Issues with Debug [message #928443] Sun, 30 September 2012 16:29 Go to next message
Roy Anderson is currently offline Roy AndersonFriend
Messages: 2
Registered: September 2012
Junior Member
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 )

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 17:30]

Report message to a moderator

Re: [version .9] Issues with Debug [message #929518 is a reply to message #928443] Mon, 01 October 2012 14:33 Go to previous messageGo to next message
Marc Aubry is currently offline Marc AubryFriend
Messages: 86
Registered: August 2012
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):
(see "run a lua file" and "interpreters" parts)

Re: [version .9] Issues with Debug [message #932844 is a reply to message #929518] Thu, 04 October 2012 13:42 Go to previous message
Simon Bernard is currently offline Simon BernardFriend
Messages: 341
Registered: July 2009
Senior Member
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 Oct 29 07:43:25 GMT 2020

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

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

Back to the top