Debugger does not work during Local Server studio sessions

I had a bug that was only reproducible by running in Local Server with two players (it was a real bug, but more of a race condition type thing) but the debugger was not recognizing my breakpoints in LocalScripts.

I remember the debugger working here in the past since I’d often run into “Rendering stopped for debugging” or something like that, not sure what happened.

Expected behavior

Clients running will hit breakpoints correctly and run the debugger when launched through Local Server/2 player studio testing

4 Likes

Thanks for the report! We’ll follow up when we have an update for you.

2 Likes

Hi,

Thank you for this report. To clarify, your expectation is to copy the existing breakpoints from your project to the local 2 player playtest so they are hit during startup?

I’m asking this as it is currently possible to add (and hit) breakpoints in PlayTest.

A workaround would be to add error() statements where you would like to break, of course this is not really ideal.

2 Likes

Yes, that is my expectation. I was unaware of the workaround, so thank you for that but also yes, not super ideal but better than nothing.

Thank you, makes sense. I put this on our roadmap, though we don’t have a timeline for this yet.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.