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
Does this issue occur when all extensions are disabled?: Yes/No
No (because coverage is
VS Code Version: 1.88.1 and 1.90 insiders
OS Version: SLED 15 and Windows 10
Steps to Reproduce:
I've developed an extension that uses the new coverage API from 1.88 and I get the following problem:
When the coverage profile is run through the test explorer, then the coverage data is appearing for very short time before it disappears
When the coverage profile is run through a custom command of mine, then the coverage will remain available
I've made sure to debug the input parameter to the runHandler in both cases and they're both identical.
The only difference I can see is the callstack in case 1 (explorer):
vs case 2 (command):
When I set a breakpoint at the very last curly brace of my run handler, then the coverage will stay until somewhere in the callstack which I can't look into:
I don't know what I can still try out to resolve this issue.
The coverage is added correctly, as it stays when the program halts and also stays forever when executed through the code lens command.
The text was updated successfully, but these errors were encountered:
While creating a small repro extension, I noticed that I can find the coverage of the run initiated through the text explorer through the Test Results view:
While this doesn't explain why the coverage is appearing for a split second before closing itself again, using the command testing.openCoverage shows a message that no coverage data is available:
Does this issue occur when all extensions are disabled?: Yes/No
No (because coverage is
Steps to Reproduce:
I've developed an extension that uses the new coverage API from 1.88 and I get the following problem:
I've made sure to debug the input parameter to the
runHandler
in both cases and they're both identical.The only difference I can see is the callstack in case 1 (explorer):
vs case 2 (command):
When I set a breakpoint at the very last curly brace of my run handler, then the coverage will stay until somewhere in the callstack which I can't look into:
I don't know what I can still try out to resolve this issue.
The coverage is added correctly, as it stays when the program halts and also stays forever when executed through the code lens command.
The text was updated successfully, but these errors were encountered: