Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Lua Development Tools » debugging lua 5.2(survery for expected support for lua 5.2)
debugging lua 5.2 [message #831760] Thu, 29 March 2012 09:56 Go to next message
ewan willis is currently offline ewan willis
Messages: 4
Registered: March 2012
Junior Member
Hi, I would really like to use lua eclipse to debug lua 5.2 ... does anyone know when I might expect to see support for this?

Thank you!
Re: debugging lua 5.2 [message #831869 is a reply to message #831760] Thu, 29 March 2012 13:09 Go to previous messageGo to next message
Benjamin Cabé is currently offline Benjamin Cabé
Messages: 151
Registered: July 2009
Location: Toulouse, France
Senior Member

Thanks for reporting this Ewan.

At the time the debugger was created, we were targetting 5.1.
Still, it should of course work on Lua 5.2. It seems to be broken because of the "debug" module not being loaded by default anymore (see http://lua-users.org/wiki/LuaFiveTwo)

You should try adding
local debug = require 'debug'
at line 47 , it should do the trick ...

In the mean time, I have opened bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=375622

Cheers!

[Updated on: Thu, 05 April 2012 16:19]

Report message to a moderator

Re: debugging lua 5.2 [message #837395 is a reply to message #831760] Thu, 05 April 2012 16:13 Go to previous messageGo to next message
Julien Desgats is currently offline Julien Desgats
Messages: 12
Registered: August 2011
Junior Member
Hello, you can find a pre-version of a 5.2 ready debugger on bugzilla (see link posted by Benjamin). There is some known glitches detailed in comments. Please post any feedback you could have.

Cheers.
Re: debugging lua 5.2 [message #837411 is a reply to message #837395] Thu, 05 April 2012 16:29 Go to previous message
ewan willis is currently offline ewan willis
Messages: 4
Registered: March 2012
Junior Member
Great! Smile thanks both - I'll let you know how I get on Smile
Previous Topic:i can't run lua!run configurations is empty!
Next Topic:feature request: highlight globals
Goto Forum:
  


Current Time: Thu Oct 30 15:28:37 GMT 2014

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

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