Welcome to PGMV! My goal is to make it easy for everyone to find and share great plugins for creating amazing games. As a plugin developer myself, I'm excited to grow this community with all of you.
Event Debugger - EventDebugger.js
Plugin desc : Event Debug Plugin
License : MIT License
Author : Triacontane
Website : https://triacontane.blogspot.com/
Download Page : https://raw.githubusercontent.com/munokura/triacontane-MV-plugins/refs/heads/main/EventDebugger.js
File name : EventDebugger.js
Help of plugin :
@url https://triacontane.blogspot.com/ @plugindesc Event Debug Plugin @author Triacontane @license MIT License @help English Help Translator: munokura This is an unofficial English translation of the plugin help, created to support global RPG Maker users. Feedback is welcome to improve translation quality (see: https://github.com/munokura/triacontane-MV-plugins ). Original plugin by Triacontane. Please check the latest official version at: https://triacontane.blogspot.com ----- You can pause event execution at any point and execute it line by line (step execution). There are three ways to start it: 1. Press the specified key (default: F7). (*1) 2. Execute the plugin command [BREAK_POINT] (conditions can be specified). 3. Execute an event test. 4. Meet the conditions specified by the plugin command [AUTO_BREAK]. (*2) *1 If multiple parallel events are executing, it is uncertain where execution will stop. *2 Step execution will begin from the next event command after the condition is met. If a large number of events are executing in a single frame, this feature may degrade performance. While execution is paused, the following operations are possible. 1. Step execution (execute events one command at a time) 2. Check the list of running events 3. Check the parameters of executed events 4. Open the debug screen (F9) and manipulate switches and variables (*2) 5. Execute arbitrary JavaScript from the console *2 Only available on the map screen. The following types of step execution are available, and you can specify the corresponding function keys. Step In: Executes one line. Also steps through calls to common events. Step Over: Executes one line. All common event calls are executed at once. Resume: Ends step execution and returns to normal event execution. Also outputs the time it took for each event command to execute. You can also constantly monitor the evaluation results of variables and scripts. When a monitored object is registered, a window will appear in the upper right corner. If a numeric value is specified, the variable value will be displayed, and if a string is specified, the script evaluation result will be displayed. You can register a monitored object by pressing the specified function key or by running the following script from the Developer Tools. DebugManager.watchVariable(5); # Constantly monitors the value of variable [5]. This plugin only works in test mode and has no effect on the final version. Plugin Command Details Execute from the "Plugin Command" event command. (Separate parameters with a space.) BREAK_POINT ¥v[1] === 3 # Starts step execution if the condition [¥v[1] === 3] is met. B ¥v[1] === 3 # Same as above. AUTO_BREAK ¥v[1] === 3 # Starts step execution when the condition [¥v[1] === 3] is met. AB ¥v[1] === 3 # Same as above. Terms of Use: You may modify and redistribute this plugin without permission from the author, and there are no restrictions on its use (commercial, 18+, etc.). This plugin is now yours. @param StepStart @text Step Start @desc This is a function key to start step execution from the next executed event command. @type select @default F7 @option none @option F1 @option F2 @option F3 @option F4 @option F5 @option F6 @option F7 @option F8 @option F9 @option F10 @option F11 @option F12 @param StepIn @text Step Into @desc This is a function key for stepping in (executing one command) during step execution. @type select @default F11 @option none @option F1 @option F2 @option F3 @option F4 @option F5 @option F6 @option F7 @option F8 @option F9 @option F10 @option F11 @option F12 @param StepOver @text Stepover @desc This is a function key to step over (execute one command) during step execution. It skips common events. @type select @default F10 @option none @option F1 @option F2 @option F3 @option F4 @option F5 @option F6 @option F7 @option F8 @option F9 @option F10 @option F11 @option F12 @param Continue @text Continue @desc Function key to interrupt and continue step execution. @type select @default F6 @option none @option F1 @option F2 @option F3 @option F4 @option F5 @option F6 @option F7 @option F8 @option F9 @option F10 @option F11 @option F12 @param ToggleWindow @text Display Switching @desc Toggles the display state of the debug window. You can also toggle it with the Shift key. @type select @default F6 @option none @option F1 @option F2 @option F3 @option F4 @option F5 @option F6 @option F7 @option F8 @option F9 @option F10 @option F11 @option F12 @param WatchVariable @text Variable Watch @desc A dialog will appear where you can enter the game variables or scripts you want to monitor. @type select @default F1 @option none @option F1 @option F2 @option F3 @option F4 @option F5 @option F6 @option F7 @option F8 @option F9 @option F10 @option F11 @option F12 @param MaxWatchNum @text Maximum number of monitors @desc The maximum number of variables to watch. Specifying a very large value may slow performance. @type number @default 3 @param EventTest @text Event Test @desc When you perform an event test, step execution will occur automatically. @type boolean @default true @param SuppressFunc @text Function Key Suppression @desc When you press a function key, it suppresses the default and other plugins from working. @type boolean @default false @param OkHandler @text OK operation @desc Sets the function key behavior when the Enter button is pressed during step execution. @type select @default F11 @option none @option F1 @option F2 @option F3 @option F4 @option F5 @option F6 @option F7 @option F8 @option F9 @option F10 @option F11 @option F12 @param CancelHandler @text Cancel Action @desc Sets the function key behavior when the Cancel button is pressed during step execution. @type select @default F6 @option none @option F1 @option F2 @option F3 @option F4 @option F5 @option F6 @option F7 @option F8 @option F9 @option F10 @option F11 @option F12 @param SimultaneousCtrl @text Press Ctrl simultaneously @desc Whether or not you need to press the Ctrl key simultaneously when using each function. Use this when there is a conflict with the target key of another plugin. @type boolean @default false @param SimultaneousAlt @text Press Alt simultaneously @desc Whether or not the Alt key must be pressed simultaneously when using each function. Use this when there is a conflict with the target key of another plugin. @type boolean @default false @param ScriptDebug @text Script Debugging @desc Sets the behavior when an error occurs in the "script" of the event command. 0: Error (normal) 1: Step execution 2: Ignore @type select @default 1 @option Error (as usual) @value 0 @option Step execution @value 1 @option ignore @value 2 @param DisableDebugCtrlKey @text Disable with CTRL @desc While you hold down the CTRL (option on Mac) key, step execution will not occur even if the step execution conditions are met. @type boolean @default false