On Thu, Jun 6, 2013 at 10:23 AM, Brad Jorsch <bjorsch(a)wikimedia.org> wrote:
The debug console probably could use some work. The
way it works now,
it takes your past and current input, plugs all that into some
boilerplate to make a function, and then executes that function. The
line numbers reported for "Lua error in console input" therefore
depend on this boilerplate and on the lines you've previously entered
in the session.
It's also possible to break that boilerplate function, as you've seen
below.
I agree. I know it's a stretch, but the ideal situation would be to have
some sort of actual debugger. Like a full-blown console or something where
you could test code and it would tell you where it failed and why, etc. I
know some of this is supported already.
*-- *
*Tyler Romeo*
Stevens Institute of Technology, Class of 2016
Major in Computer Science
www.whizkidztech.com | tylerromeo(a)gmail.com