SRL Archive - Jr. Member General Help and Discussion

if debug shows nothing, is it script related, or simba related?


theholyone

2015-03-21 07:51:15

so i've been testing out my script for a while now, and sometimes it would freeze, and when I look at the debug window from Simba, it's blank. it's basically

run -> find color -> click

it would run, debug just fine, but sometimes the debug window will stay clear, it would not attempt to find color, and then go straight back to main loop and run again ( gets stuck )

I guess my main question is,

if Simba's debug isn't showing anything, does that mean the script is stuck, or is it Simba related?

riwu

2015-03-21 08:33:08

Probably because u have an infinite loop and there's no debug in the loop so it just loops endlessly without any debug shown.

Myke

2015-03-21 08:38:20

From: theholyone
so i've been testing out my script for a while now, and sometimes it would freeze, and when I look at the debug window from Simba, it's blank. it's basically

run -> find color -> click

it would run, debug just fine, but sometimes the debug window will stay clear, it would not attempt to find color, and then go straight back to main loop and run again ( gets stuck )

I guess my main question is,

if Simba's debug isn't showing anything, does that mean the script is stuck, or is it Simba related?


try adding more output to debug through the script to pinpoint where it's stuck/looping. It likely is not simba causing nothing to be shown.

theholyone

2015-03-21 09:07:40

from the looks of it, i think it may have been the repeat function, which is strange because it's set to repeat until the pack's count is less than 10(there were 4 items in my inventory), but for now this has fixed it temporarily, going to see if i can finally get a proggy longer than 1hr