miniSphere 5.0b2 (stable: 4.8.8) - Cell compiler - SSj debugger - thread | on GitHubFor the sake of our continued health I very much hope that Fat Cerberus does not become skilled enough at whatever arcane art it would require to cause computers to spawn enormous man-eating pigs ~Rhuan

The only difference between that and Lord English's version is an Abort call when logging errors.

Haha, oops. I forgot about that, I added that Abort call myself. When something went wrong Sphere tended to give the location of the error right at the logging call (yes, instead of logging the error it just crashed outright! persist.js is a great tool, but extremely hackish, you have to be prepared for weird stuff like this), but the real problem was that the resulting error was truncated, so I had to manually abort to see the entire message.

Last Edit: June 19, 2013, 10:38:21 pm by Lord English

miniSphere 5.0b2 (stable: 4.8.8) - Cell compiler - SSj debugger - thread | on GitHubFor the sake of our continued health I very much hope that Fat Cerberus does not become skilled enough at whatever arcane art it would require to cause computers to spawn enormous man-eating pigs ~Rhuan

Yeah, the recovered scripts might not have Tungi's final edits. I remember pointing something out a long time ago that was wrong with the script causing it to crash randomly and Tungi fixed it. What that problem was, I can't recall.

No, didn't have the patience. I just stuck an Abort call in there as a quick workaround and called it a day. 9 times out of 10 it was a syntax error in my own code as the root cause, but for some reason instead of it showing the location of the error, persist.js was catching the exception, and when attempting to log it, this caused a really strange "Invalid string" error, which soft-crashed the engine. Here's the thing: The invalid string error also had the offending line of code in it, but the logging crash only showed a truncated version of the error. Adding an explicit Abort allowed me to see the whole error description.

miniSphere 5.0b2 (stable: 4.8.8) - Cell compiler - SSj debugger - thread | on GitHubFor the sake of our continued health I very much hope that Fat Cerberus does not become skilled enough at whatever arcane art it would require to cause computers to spawn enormous man-eating pigs ~Rhuan