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
Get it at
Hime Works
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_stackTH.trace_system_stack(n)Where `n` is the number of method calls that are allowed to be made beforethis 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.
Using the Full Error Stacktrace, we look for a line to begin debugging the issue
Now we add the debug method above the line that was reported, and now we get a proper stacktrace.
You can use this information to help identify exactly what is causing the issue.
本贴来自国际rpgmaker官方论坛作者:Tsukihime处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/system-stack-debugger.16827/