-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Microsoft/ptvsd#78 #960
Conversation
Wait for `process` event before requesting pause. Increase timeouts when waiting for `process` and `thread`, due to pydevd delay in thread reporting.
Counterpart to microsoft/ptvsd#179 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert a simple change, thanks
@@ -376,14 +377,11 @@ const EXPERIMENTAL_DEBUG_ADAPTER = path.join(__dirname, '..', '..', 'client', 'd | |||
await debugClient.assertStoppedLocation('step', printLocation); | |||
}); | |||
test('Test pausing', async function () { | |||
if (debuggerType !== 'python') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please restore this check.
Currently pausing does not work with the old debugger,
With the new debugger, it will not work again as PTVSD is not available on CI server.
Codecov Report
@@ Coverage Diff @@
## master #960 +/- ##
==========================================
- Coverage 64.01% 64.01% -0.01%
==========================================
Files 260 260
Lines 12028 12027 -1
Branches 2131 2130 -1
==========================================
- Hits 7700 7699 -1
Misses 4319 4319
Partials 9 9
Continue to review full report at Codecov.
|
@@ -379,11 +380,12 @@ const EXPERIMENTAL_DEBUG_ADAPTER = path.join(__dirname, '..', '..', 'client', 'd | |||
if (debuggerType !== 'python') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @int19h
Please skip this test unconditionally.
The old debugger doesn't send process
event, and the new debugger cannot be run on CI.
Thanks, this is the only test that's failing on CI.
Wait for
process
event before requesting pause.Increase timeouts when waiting for
process
andthread
, due to pydevd delay in thread reporting.