mIRC Home    About    Download    Register    News    Help

Print Thread
/debug switch for internal commands #222905 08/07/10 09:44 AM
Joined: Feb 2006
Posts: 546
J
jaytea Offline OP
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Feb 2006
Posts: 546
apologies if it's been suggested before (it's not particularly easy to search for), but I propose the addition of a new /debug switch that would deal with all internal commands and not ones that are sent between the client and an IRC server.

each line could include the script filename (this is tricky; the filenames can include spaces), the line number and the command as it stood after full evaluation. if/while statements could be excluded unless there were a sensible way of including them.

while this can be achieved to some extent by placing /echo commands in the right places in scripts, i do believe the added benefits of my suggestion (such as the ability to locate a stray piece of code that's causing ambiguous error messages) warrant its consideration


"The only excuse for making a useless script is that one admires it intensely" - Oscar Wilde
Re: /debug switch for internal commands [Re: jaytea] #222913 08/07/10 10:35 PM
Joined: Jul 2006
Posts: 3,807
W
Wims Offline
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,807
I support this


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: /debug switch for internal commands [Re: Wims] #222922 09/07/10 07:11 AM
Joined: Dec 2002
Posts: 122
S
STING Offline
Vogon poet
Offline
Vogon poet
S
Joined: Dec 2002
Posts: 122
My name is STING and I approve of this message cool

Re: /debug switch for internal commands [Re: jaytea] #222931 09/07/10 07:27 PM
Joined: Apr 2010
Posts: 966
F
FroggieDaFrog Offline
Hoopy frood
Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 966
I, aswell, endorse this.


I am SReject
My Stuff
Re: /debug switch for internal commands [Re: FroggieDaFrog] #222935 09/07/10 10:34 PM
Joined: Sep 2009
Posts: 52
Z
ziv Offline
Babel fish
Offline
Babel fish
Z
Joined: Sep 2009
Posts: 52
*Nods in agreement*

I hope this is added,
ziv.

Re: /debug switch for internal commands [Re: ziv] #222936 10/07/10 12:28 AM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Here's my support for this suggestion.