RMMV Dev Tolls performance drop

Apologies if this has been asked before. I've searched around a lot about it but haven't found anything online about the issue.

As the titles says, while developing, after I open the dev tools and start messing around with the console (mainly calling different game objects to see available fields and functions), after a while the entire dev tool window slows down and lags a lot.
The game is fine so is the rest of my system.

It's only the dev tools window that starts to hang.

Some times closing the dev tools and reopening it seems to fix it for some time but then it happens again. Other times it only gets fixed (for a time) if I refresh the running game window.

I am developing a system of Inspecting, Pushing, Pulling and Picking up events from the game world but without the need to add any code to that event. My approach is to create common events that listen to specific keystrokes (for keys that Inspect/Pull/Push/Pickup) and run appropriate code if the conditions are met.

I have a few common events listening in parallel but they don't run any scripts (unless certain buttons are triggered in-game).
Any ideas?
Is this a common occurrence for anyone else or am I screwing the performance of the game with my system?

P.S. The game itself does not have any evident slow down or performance drop.
Welcome!

I haven't experienced that, but then, I've never had the console open for extended periods of time.

The game itself is going to slow way down/get laggy when the console is open, but I haven't seen the console lag when it's in focus.

But ultimately it doesn't matter. The engine is not intended to be running with the console open, and it's not possible for the player to be doing that, so as long as your game runs fine what does it matter? 😉

I have a few common events listening in parallel but they don't run any scripts (unless certain buttons are triggered in-game).
You may already know this, but be careful with this. If possible, that should be one common event listening in parallel; and checking for button input is just about the only time you shouldn't have a Wait command in your parallel event.
You may already know this, but be careful with this. If possible, that should be one common event listening in parallel; and checking for button input is just about the only time you shouldn't have a Wait command in your parallel event.
Nope, I did not know this 😮. Thanks for mentioning this. The moment I read your suggestion it clicked to me that it is stupid to have multiple events...

and checking for button input is just about the only time you shouldn't have a Wait command in your parallel event.
If possible could elaborate more on this?
Sorry for the ignorance I'm only a week old in rpg maker development...🙄
If possible could elaborate more on this?
I'm only a week old in rpg maker development...
Sure! In addition to this, you may want to look up and do some events tutorials.

Autorun and parallel events automatically attempt to run their entire contents every frame - so 60 times a second.

Most things that people will do with parallel events aren't actually that time-sensitive, where it matters to the fraction of a second.

So you should put a Wait event command for 5 frames or 10 frames or whatever increment actually matters to the contents; that will reduce how frequently the engine is trying to execute that whole event.

Having multiple parallel events and/or having parallel events without any Wait on them is the biggest cause when people report lag in their games.

Looking for button inputs is one of the few exceptions to this, but it still makes sense to have all input-checking put into one event if possible so there aren't multiple being checked every frame.

And, if possible, it's even better to not have parallel events checking for input but use a plugin like Yanfly's Button Common Events to integrate it into the input code without having an extra parallel process.
Thanks a lot for the reply!!!
Autorun and parallel events automatically attempt to run their entire contents every frame - so 60 times a second.
Ok now things start to make sense. I did some tutorials but I guess I've missed this part.

it's even better to not have parallel events checking for input but use a plugin like Yanfly's Button Common Events to integrate it into the input code without having an extra parallel process.
Yeah, I suppose it's time that I learn how to write plugins. I've already written the functionality I wanted in the common event scripts, I might as well figure out plugins. I guess I should stop being lazy 😛.
I mean, you don't need to learn how to write plugins in order to use RPG Maker. What you're describing can be done with an event.

And my suggestion of a plugin to make it more efficient was one that was already written. I'm not sure if there are other versions by someone else that are free, if that's the sticking point. But I wasn't implying it's something you need to do.

Good luck with your project!
Good luck with your project!
Hey thanks!
I know I don't have to and it's not a cost issue. I am already a software dev so the effort to learn how to write plugins is not going to be too high.
I mean, you don't need to learn how to write plugins in order to use RPG Maker. What you're describing can be done with an event.
Depends on what you want to do, even existing plugins might not be enough. I've lost count of how many patches and code tweaks I've had to write for my project.

Original thread: https://forums.rpgmakerweb.com/threads/rmmv-dev-tolls-performance-drop.162007/