Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Sat Oct 13, 2007 4:38 am   

[2.06] Lua stack traces
 
So yeah, I'm loving the new stack traces, but they don't seem to appear all the time. For example, doing

error("lol")

works, but

b=1
if b then
  error("lol")
else
  error("omg")
end

doesn't give a stack trace.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Sat Oct 13, 2007 5:09 am   
 
Not sure why, but I'll add it to the list. It's not going to be a huge priority though. I'm calling the stack trace using the source code from the Lua debugger itself, so I'm not sure what else to do.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Oct 15, 2007 7:22 pm   
 
Hmm, I just entered your second example on the command line (with Lua command line mode) and it *did* give me a stack trace.
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Mon Oct 15, 2007 7:36 pm   
 
Seems it's working now. Hooray for stealth fixes?
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net