[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Debugging best practices under Linux?
- From: Francesco Abbate <francesco.bbt@...>
- Date: Mon, 13 Sep 2010 11:55:13 +0200
Hi Norbert,
I've got exactly the same problem. For me it was a nightmare because I
was debugging a very complex lua program. The only solution I've found
was, like you, to put "print" instructions in critical points and some
"io.read('*l')" at some checkpoints but it was painful.
I was very disappointed by response of the Lua developers. They mostly
ignored my request of help. Some people in the mailing list give me
some answer like:
- there is wonderful debugger for window => but it is only for windows
and it is shareware (SIC!)
- there is Eclipse plugin but it seems to be broken.
I'm really surprised about how the Lua developers ignore this problem
together with some other problems like a complete/standard set of
library, an official supported binary distribution and a few other
things. IMHO these are some lacks that makes Lua not competitive with
Python concerning its usage as a stand-alone programming language.
The approach of the Lua developers is: we provide just the primitives
and the community will provide everything else. The problem is that
they don't seems to remark that this approach doesn't work! :-)
Francesco
2010/9/13 Norbert Kiesel <nkiesel@tbdnetworks.com>:
> Hi,
>
> today I again went for my yearly hunt for a decent Lua debugger running
> under Linux. Despite trying various tools, so far I always went back to
> sprinkling my code with print statements because nothing else really
> worked for me. What I'm looking for (in decreasing order of importance
> for me):
> - local command-line debugging (e.g. "lgdb foo.lua")
> - debugging embedded Lua code running within my C++ program
> - integrated C++ and Lua debugging
> - GUI
>
> What are you using?
>
> Best,
> Norbert
>
>
>