Recently studio started throwing this error into output when I have multiple instances selected. I am assuming that a plugin I am using is the cause and although I could take the time to find out which one it is I don’t feel as though I should have to.
[size=5][size=1]14:56:31.538 - maximum event re-entrancy depth exceeded[/size][/size]
Now, for those among you who aren’t aware what this error means. Well; simply it means that you’ve made an infinite loop, pretty much, and it’s been executed too many times.
What I am proposing is that the source of this error is displayed in output. Whether it be simply the script or the exact location within said script. I would find it really useful to help solve my issue and I am sure that many fresh developers learning to script will also fin this very beneficial.
Usually these things are because you have something that is changing, and the script that listens to it getting changed changes the thing more than one time. If the script changes it only once then you’re good.
[quote] Usually these things are because you have something that is changing, and the script that listens to it getting changed changes the thing more than one time. If the script changes it only once then you’re good. [/quote]None of the plugins I use are by me, so this isn’t something I have control over.
You actually do. The installed plugins are saved as roblox models in the Appdata/Local/Roblox/InstalledPlugins/ThePluginAssetID. You can insert them like any roblox model.
You actually do. The installed plugins are saved as roblox models in the Appdata/Local/Roblox/InstalledPlugins/ThePluginAssetID. You can insert them like any roblox model.[/quote]
You can’t possibly expect plugin users to go through all of their plugins’ source code each time they have a problem. A stack trace is a basic feature of the output. Any error that doesn’t include it isn’t helpful at all.
I have a change that will ship next week which will change the output to:
10:44:16.276 - Maximum event re-entrancy depth exceeded for Instance.Changed
10:44:16.276 - Script ‘Workspace.Script’, Line 5
Unfortunately it’s too hard to get the full stack trace right now, so you’ll only get the line with the event that did not happen. Full stack trace requires tracking Lua execution more precisely - this could be a good internship task…
You actually do. The installed plugins are saved as roblox models in the Appdata/Local/Roblox/InstalledPlugins/ThePluginAssetID. You can insert them like any roblox model. [/quote]
You can’t possibly expect plugin users to go through all of their plugins’ source code each time they have a problem. A stack trace is a basic feature of the output. Any error that doesn’t include it isn’t helpful at all.[/quote]
I was talking about being able to insert plugins into roblox like models. I was not talking about forcing people to fix the plugins they download. Any idea that I was suggesting anything beyond the face value of my statement is not correct.
[quote] Unfortunately it’s too hard to get the full stack trace right now, so you’ll only get the line with the event that did not happen. Full stack trace requires tracking Lua execution more precisely - this could be a good internship task… [/quote]This is perfect, thank you for the quick turn-around!
Oh, the error message has been reworded for clarity - it now looks like this:
10:46:16.137 - Maximum event re-entrancy depth exceeded for Instance.Changed
10:46:16.138 - While entering function defined in script ‘Workspace.Script’, line 5