maybe you can step through the problematic script ...
# suitescript
j
maybe you can step through the problematic script in the suitescript debugger