Debug.Stop() is supposed to pause the editor, but when does it pause it?, right away?, after the current update loop executes in the script the line is on? After all updates are performed in this cycle?
I’m trying to use it to debug something wrong in my code, but it doesn’t seem to stop right away.
if I do this…
function FixedUpdate()
{
Debug.Stop();
Debug.Log("stopped");
//followed by the code I'm trying to test
}
I get the stopped message in the console, meaning it didn’t stop right away… And the code that follows gets executed, after this the editor is paused. Am I wrong? How does it really work?