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
{{ message }}
Repository navigation
Console logs occasionally skipped before shutdown #161
Try running this a few times, if you see no output increase delay if you see full output decrese it. At around 11-14ms I see anywhere between no output and full output, with the output sometimes reordered.
Update on this since there have been a few duplicates: we now use the behavior of the previous debug adapter where we stringify simple messages directly, so those should not be missed. However, if a message includes complex data that we need to send as variables, we can still hit the scenario I described in the linked issue.
Something I could do in js-debug, now that we learned how to delay shutdown while console output is purged, is add an additional delay expecting variables requests for all console lines. But this is not very ideal. Any other suggestions?
Activity
connor4312 commentedon Dec 6, 2019
We need a change in the DAP to solve this properly: microsoft/debug-adapter-protocol#85
connor4312 commentedon Jul 5, 2020
Update on this since there have been a few duplicates: we now use the behavior of the previous debug adapter where we stringify simple messages directly, so those should not be missed. However, if a message includes complex data that we need to send as variables, we can still hit the scenario I described in the linked issue.
connor4312 commentedon Jul 11, 2020
Some improvements made here 02f9147 but the scenario with variable references is still present
connor4312 commentedon Sep 16, 2020
Andre Weinand (@weinand) there've been a trickle of reports about this over time.
Something I could do in js-debug, now that we learned how to delay shutdown while console output is purged, is add an additional delay expecting variables requests for all console lines. But this is not very ideal. Any other suggestions?
connor4312 commentedon Mar 31, 2021
Closing as dupe with the flush behavior we have.