SES Backtrace (Print full error backtrace, optionally capture all exceptions.)
SES Backtrace v1.3 by SolistraSummary
This script provides the missing full error backtrace for RGSS3 as well as a number of features related to exception handling for debugging.
Normally, the error message given when an exception is encountered provides only the exception information without providing the backtrace; this script rectifies that by displaying the backtrace within the RGSS Console when applicable, potentially logging the backtrace to a file, and allowing script developers to test games with critical bugs without causing the entire engine to crash by optionally swallowing all exceptions.
Screenshot
Spoilerhttp://i.imgur.com/JUHbBkL.png
License
This script is made available under the terms of the MIT Expat license. View this page for more detailed information.
Installation
Place this script below the SES Core (v2.0 or higher) script (if you are using it) or the Materials header, but above all other custom scripts. This script does not require the SES Core, but it is highly recommended.
Place this script below any script which aliases or overwrites the Game_Interpreter#update or SceneManager.run methods for maximum compatibility.
Download
This script is available from the SES source repository. The specific file to download is 'lib/backtrace.rb'.
Script authors may also browse the documentation for this script from GitHub Pages.
本贴来自国际rpgmaker官方论坛作者:Solistra处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/ses-backtrace-print-full-error-backtrace-optionally-capture-all-exceptions.35226/
页:
[1]