mIRC Home    About    Download    Register    News    Help

Print Thread
#119021 01/05/05 05:05 AM
Joined: Jan 2003
Posts: 87
T
Tat Offline OP
Babel fish
OP Offline
Babel fish
T
Joined: Jan 2003
Posts: 87
trace mode. Have it save the data of aliases and functions the script has called and save it to the disk. It would make it far easier to catch crash bugs. I have some people who keep hitting a crash bug almost randomly. But all using the same script, but with script it's almost impossible to figure out what exactly is causing. If it saved the entire "called this function" "called this alias function". It might be nice to have the last few things it does before it dies.

Although, it would slow it down a lot with all the writing to disk. It would not be on all the time. But, if it happens the log would pretty much isolate it in no time. And with saving the input make it quick and easy to find repeatable code to crash mIRC and avoid such code.

#119022 01/05/05 07:17 PM
Joined: Dec 2002
Posts: 155
S
Vogon poet
Offline
Vogon poet
S
Joined: Dec 2002
Posts: 155
Ctrl+Break is your friend.

#119023 03/05/05 12:25 AM
Joined: Apr 2004
Posts: 218
P
Fjord artisan
Offline
Fjord artisan
P
Joined: Apr 2004
Posts: 218
Hmm, What does this control break do? ;z I just now recently noticed it on my keyboard! lol! I even had to look on my keyboard to see if there was even a "Break" button. :P Shows my intelligence of the keyboard buttons ;x


Live to Dream & Dream for Life
#119024 03/05/05 05:17 AM
Joined: Dec 2002
Posts: 208
H
Fjord artisan
Offline
Fjord artisan
H
Joined: Dec 2002
Posts: 208
If your script gets in an infinite loop, or is just taking way too long, you can press ctrl+break to halt it. It even tells you what script/line mirc was on when it broke out.


If I knew now what I will know then... maybe things will have been different...
#119025 03/05/05 07:03 AM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
If only ctrl-break always worked.

#119026 03/05/05 05:45 PM
Joined: Dec 2002
Posts: 208
H
Fjord artisan
Offline
Fjord artisan
H
Joined: Dec 2002
Posts: 208
Sometimes you have to tap it a few times. Say, 3-5. It is rare for script to lock mirc up any better than that.


If I knew now what I will know then... maybe things will have been different...
#119027 03/05/05 05:48 PM
Joined: Jun 2003
Posts: 994
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Jun 2003
Posts: 994
Quote:
It is rare for script to lock mirc up any better than that.


You should load some of my "attempts" grin


I refuse to engage in a battle of wits with an unarmed person. wink
#119028 03/05/05 06:09 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Are you saying you're an expert on scripting endless loops? smile


Invision Support
#Invision on irc.irchighway.net
#119029 03/05/05 06:14 PM
Joined: Jun 2003
Posts: 994
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Jun 2003
Posts: 994
let's say it's been known to happen grin


I refuse to engage in a battle of wits with an unarmed person. wink
#119030 03/05/05 11:48 PM
Joined: Dec 2002
Posts: 155
S
Vogon poet
Offline
Vogon poet
S
Joined: Dec 2002
Posts: 155
Quote:
If only ctrl-break always worked.

Ah, yes... those rare occasions. Good thing adding echos here and there works; for me, at least.

#119031 04/05/05 04:00 AM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
Quote:
Sometimes you have to tap it a few times. Say, 3-5. It is rare for script to lock mirc up any better than that.


Im talking about single command lockups, such as $findfile, $crc and /filter using listboxes etc


Link Copied to Clipboard