take a pointbreak in visual studio

Options

I use the PUN2 and connect to the cloud server, I want debug by pointbreak, but when the pointbreak take effect, the photon disconnect soon, How can I fix this?

Answers

  • chvetsov
    Options

    hi, @zybillyjay

    that is expected because debugger blocks all threads and pings can not be send to server if you are using UDP.

    in case you need to debug your client try to use Tcp. it takes longer for it to disconnect.

    Another option could be - host photon server your self. than you will be able to increase timeouts

    best,

    ilya

  • JohnTube
    JohnTube ✭✭✭✭✭
    edited December 2021
    Options

    Hi @zybillyjay,

    Thank you for choosing Photon!

    I wanted to add that we have this documentation page.