mIRC Home    About    Download    Register    News    Help

Print Thread
#119021 01/05/05 05:05 AM
T
Tat
Tat
T
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: 153
S
Vogon poet
Offline
Vogon poet
S
Joined: Dec 2002
Posts: 153
Ctrl+Break is your friend.

#119023 03/05/05 12:25 AM
Joined: Apr 2004
Posts: 217
P
Fjord artisan
Offline
Fjord artisan
P
Joined: Apr 2004
Posts: 217
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

#119024 03/05/05 05:17 AM
Joined: Dec 2002
Posts: 206
H
Fjord artisan
Offline
Fjord artisan
H
Joined: Dec 2002
Posts: 206
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.

#119025 03/05/05 07:03 AM
D
DaveC
DaveC
D
If only ctrl-break always worked.

#119026 03/05/05 05:45 PM
Joined: Dec 2002
Posts: 206
H
Fjord artisan
Offline
Fjord artisan
H
Joined: Dec 2002
Posts: 206
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.

#119027 03/05/05 05:48 PM
C
CtrlAltDel
CtrlAltDel
C
Quote:
It is rare for script to lock mirc up any better than that.


You should load some of my "attempts" grin

#119028 03/05/05 06:09 PM
Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
Are you saying you're an expert on scripting endless loops? smile

#119029 03/05/05 06:14 PM
C
CtrlAltDel
CtrlAltDel
C
let's say it's been known to happen grin

#119030 03/05/05 11:48 PM
Joined: Dec 2002
Posts: 153
S
Vogon poet
Offline
Vogon poet
S
Joined: Dec 2002
Posts: 153
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
D
DaveC
DaveC
D
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