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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Cbisazza
Wanderer


Joined: 27 Feb 2003
Posts: 69
Location: Australia

PostPosted: Sun Mar 19, 2006 5:34 pm   

Infinite loop detected
 
I'm get a pop-up window saying

Quote:
Infinite loop detected in command parsing:
#VAR line.c @{line.g} ; #say @{status}%time"[hh:nn:ss:zzz]:") text ;#GAG

All variables are standard variables with values.

My problem is that:
- The alias in question is called multiple times, and all other times it works as expected.
- it does not call any other aliases, or functions.
- All variables are standard variables (i.e. with values).

Any ideas on how I could go about debugging this?
_________________
Chris.

Last edited by Cbisazza on Mon Mar 20, 2006 5:30 pm; edited 1 time in total
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Sun Mar 19, 2006 6:10 pm   
 
It will be helpful if you post the alias itself, and the other condition under which it gets called.
_________________
Asati di tempari!
Reply with quote
Cbisazza
Wanderer


Joined: 27 Feb 2003
Posts: 69
Location: Australia

PostPosted: Mon Mar 20, 2006 9:21 am   
 
The alias is called 'debug', and is meant to print a line of text and then gag it. The version of it that I gave above is pretty much it, but if you want the alias itself, it is:

#ALIAS debug {#VAR line.c @{line.g} ;#say @{status}%time"[hh:nn:ss:zzz]:") %-1 ;#GAG }

Whatever I call the alias with, it fails in two particular places, and works in all others.
_________________
Chris.
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Fri Mar 24, 2006 2:03 pm   
 
Open up the DEBUGGER and step through it to see where it is looping. From a casual view I see nothing odd.
Reply with quote
Cbisazza
Wanderer


Joined: 27 Feb 2003
Posts: 69
Location: Australia

PostPosted: Sat Mar 25, 2006 12:54 pm   
 
OK. Thanks for the suggestion, had not thought of that.


Thanks!
_________________
Chris.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion 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