System Stack Debugger

This script provides a way for scripters or script users to debug any issues
related to SystemStackError. It prints out a log of the issue that should
be useful to anyone that understands what it’s saying.

It is highly recommended for anyone running into SystemStackError exceptions and is not sure what to do.

Download

Script: download here
You may want to use the Full Error Stacktrace as well.

Installation

Place this script below Materials and above Main

Usage

You will use this script only when you encounter a SystemStackError exception.
To use this script, you simply need to add this line to your code

TH.trace_system_stack
TH.trace_system_stack(n)

Where n is the number of method calls that are allowed to be made before
this script assumes there is a problem. If no value is provided, then it
assumes the default value specified in the configuration below.

Example

We start by running into a SystemStackError without any special debugging scripts.

systemStackDebugger1

Using the Full Error Stacktrace, we look for a line to begin debugging the issue

systemStackDebugger2

Now we add the debug method above the line that was reported, and now we get a proper stacktrace.

systemStackDebugger3

You can use this information to help identify exactly what is causing the issue.

You may also like...

45 Responses

  1. 76Nydia says:

    Hi blogger, i must say you have very interesting content here.
    Your page should go viral. You need initial traffic only.
    How to get it? Search for; Mertiso’s tips go viral

Leave a Reply

Your email address will not be published. Required fields are marked *