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 05:56 Go to next message
ewan willis is currently offline ewan willis
Messages: 2
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 09: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 12:19]

Report message to a moderator

Re: debugging lua 5.2 [message #837395 is a reply to message #831760] Thu, 05 April 2012 12:13 Go to previous messageGo to next message
Julien Desgats is currently offline Julien Desgats
Messages: 4
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 12:29 Go to previous message
ewan willis is currently offline ewan willis
Messages: 2
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: Tue Sep 02 10:12:22 EDT 2014

Powered by FUDForum. Page generated in 0.03379 seconds