You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had this raised against my extension - there's a (sub-second, but noticeable) delay between log events generated in an app and them appearing in the Debug Console. I put some timing in from when the event is generated on the mobile side and when I sent the OutputEvent and it was 0.03 milliseconds. This leads me to believe the delay is somewhere between the OutputEvent being sent and then being rendered back in the Debug Console (I don't think I can measure that without being able to show accurate timestamps as the Debug Console renders a line of text).
The delay is not great (like I say, sub-second) but it is pretty noticeable if the log is in response to some user action (say tapping somewhere in a mobile device being debugged). Since you don't make any promises about the latency here, I don't know if this is something you thing is acceptable but I figured since it was raised with me I should pass it along.
The text was updated successfully, but these errors were encountered:
This is designed behavior. The debug console as an implementation detail is using a tree, and whenever new output arrives we refresh the whole tree - not the best approach but that is just life for now.
Thus each output arriving causes a tree refresh, and many outputs can cause many refreshes. Does we update the tree with a 300ms timeout.
Code pointer https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/parts/debug/electron-browser/repl.ts#L118
Here's an issue capturing that the debug console should move to some non tree implementation. Closing this as a duplicate of that #11462
I had this raised against my extension - there's a (sub-second, but noticeable) delay between log events generated in an app and them appearing in the Debug Console. I put some timing in from when the event is generated on the mobile side and when I sent the
OutputEvent
and it was 0.03 milliseconds. This leads me to believe the delay is somewhere between theOutputEvent
being sent and then being rendered back in the Debug Console (I don't think I can measure that without being able to show accurate timestamps as the Debug Console renders a line of text).The delay is not great (like I say, sub-second) but it is pretty noticeable if the log is in response to some user action (say tapping somewhere in a mobile device being debugged). Since you don't make any promises about the latency here, I don't know if this is something you thing is acceptable but I figured since it was raised with me I should pass it along.
The text was updated successfully, but these errors were encountered: