-
What do you want to achieve?
I cannot add a breakpoint when running local server with 2+ players. -
What is the issue?
I need to be able to debug multiplayer support. I can only add breakpoints when i run play on a single player in Roblox Studio. Is there a way to add breakpoints when testing/running with 2+ player mode? -
What solutions have you tried so far?
Did lots of searching with no answers.
Bumped for an answer on this? Can work around this if needed, but an answer for clarity would be appreciated ![]()
Bumping this because I’m having the same problem. I’m surprised to see this isn’t a feature, especially for a multiplayer game… I would think multiplayer breakpoint debugging would be a feature…
I guess we have to resort to the old school print debugging method then.
I’m having this issue as well. I’m testing against a race condition related to my custom leaderboard dealing with player’s swapping teams. I haven’t figured out a way to reproduce the bug in single player, so being able to use breakpoints would help me a lot.
If this feature does not exist, can someone let us know?
Bumped once again for an answer? Could print but, printing isn’t as good for debugging, an answer for clarity would be appreciated!
Another bump.
I keep telling myself that testing multiplayer is just that, a test, with no debugging. The breakpoints for clients are good. The stack traces reference the server code very accurately, all within the client output panels.
Because I’ll get called necro if I leave it a couple more days, I wanted to say that since posting this I’ve twice hit breakpoints on the server when testing multiplayer. I’ve put a lot of hours in in that time and I can’t say for sure what changed. I wish I could get back all the wasted hours cleaning up debug print/log statements.
Definitely happened to me twice. Sorry I can’t say 100% solved and prove with video as of now, I’ve mostly been polishing front end effects since.
Lol, this is the top ranking answer now I’m searching for a way to clear breakpoints from previous multiplayer test sessions. Both clients hit the same breakpoints that I’ve disabled, deleted, and restarted Roblox Studio to try and prevent.
I could put a sleep in the beginning so I can disable before they get hit, but right now, I don’t have opportunity and it causes the animations of both clients to freeze going forward.
I have to say, stubborn, undying, breakpoints in multiplayer testing is far better than no breakpoints.
Let’s bump this please cause I need an answer I have a bug that only happens when 2+ players are in the game and not when I test only by playing