Unable to stop session

I don’t why studio does this all of a sudden, but anytime there’s an error it completely stops the whole session and I become soft locked.


Worth noting I’m using UI Labs and working with React, so this isn’t a game session. Anytime this happens I have to close studio as I’m completely soft locked and can’t exit

Expected behavior

If an error occurs it should just tell me in the output, don’t lock my session. This has been happening for a few weeks now, I don’t know if I accidentally enabled a setting to do this, but I want errors to just appear in output, not to completely freeze my whole test and spam open scripts

Hi NinjoOnline,
It looks like you have an error that is happening inside a RunService:Heartbeat connection, so if you resume execution, the error will just happen again on the next frame. This is why the “soft lock” is happening.
It looks like AnchorPointBinding is a Vector2, and this code is trying to call GetValue() on it, when Vector2 doesn’t have a GetValue() method. I’m not sure what AnchorPointBinding is supposed to be, but you should make sure that it isn’t a Vector2.
One thing you could try is setting the “Break on Exceptions” setting to “Never”. One way this can be done is by going into top-left menu and clicking the Test->Debug Error->Never button, which should stop the debugger from stopping execution when you hit an error.