heroiclabs / nakama-unity

Unity client for Nakama server.
https://heroiclabs.com/docs/unity-client-guide
Other
419 stars 75 forks source link

Breaks when using breakpoints in VS #12

Closed ArisTsevrenis closed 7 years ago

ArisTsevrenis commented 7 years ago

When using breakpoints in visual studio and whilst in a topic or similar it makes user to disconnect ( which makes sense ). Not sure if there's a magic way to prevent that so it makes debugging easier.

novabyte commented 7 years ago

@ArisTsevrenis I've had a look and you should be able to freeze theads in Visual Studio when you hit the breakpoint. I'm not sure how the Unity engine will react in this case - I'm unable to try this out because I don't have access to a Windows machine. Have a look at - https://msdn.microsoft.com/en-us/library/bb157784.aspx#Anchor_3