System Stack Debugger

Help spread the word!Share on FacebookShare on TumblrTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditFlattr the author

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.

Help spread the word!Share on FacebookShare on TumblrTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditFlattr the author

You may also like...

1 Response

  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.

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax