microsoft / live-share

Real-time collaborative development from the comfort of your favorite tools
http://aka.ms/vsls
Creative Commons Attribution 4.0 International
2.27k stars 248 forks source link

hhuh5tfefgbhbv #5023

Closed rjarun8235 closed 8 months ago

rjarun8235 commented 8 months ago

Before filing a new issue, check that it's not already captured by one in this list

Product and Version [VS/VSCode]: OS Version [macOS/Windows/Linux]: Live Share Extension Version: Target Platform or Language [e.g. Node.js]:

What were you doing when you encountered the desync?

How often have you encountered desyncs?

Do the host and the guest have the same contents?

If yes, there's no need to answer the following questions

If you are using VS Code, the following will provide helpful information.

On both the host and the guest:

Host co-editing information:

Guest co-editing information:

To check that messages are being sent and received, open the Output view (ctrl+shift+u) and select "Visual Studio Live Share Coediting" from the dropdown. Type a character. On the sending end, you should see output like:

[2020-12-10 23:51:25.351 ] Post message: {"messageType":"textChange","changes":[{"length":0,"newText":"a","start":400}],"changeServerVersion":12,"clientId":24,"fileName":"/src/foo.txt","time":1607644285349,"sendId":16}

On the receiving end, you should see output like:

[2020-12-10 23:51:27.713 ] Receive message: {"context":{"GuestSessionId":"31","IsOwner":"False"},"sourceId":"Coauthoring","eventId":45,"jsonContent":"{"messageType":"textChange","changes":[{"length":0,"newText":"a","start":400}],"changeServerVersion":12,"clientId":24,"fileName":"/src/foo.txt","time":1607644427514,"sendId":25}","time":1607644427713}

Are messages being sent and received?

derekbekoe commented 8 months ago

Closing as no issue or feedback has been provided. Please comment if otherwise.