Skip to content
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

Merged
merged 4 commits into from
Mar 7, 2018
Merged

Fix Microsoft/ptvsd#78 #960

merged 4 commits into from
Mar 7, 2018

Conversation

int19h
Copy link

@int19h int19h commented Mar 6, 2018

Wait for process event before requesting pause.

Increase timeouts when waiting for process and thread, due to pydevd delay in thread reporting.

Wait for `process` event before requesting pause.

Increase timeouts when waiting for `process` and `thread`, due to pydevd delay in thread reporting.
@int19h
Copy link
Author

int19h commented Mar 6, 2018

Counterpart to microsoft/ptvsd#179

Copy link

@DonJayamanne DonJayamanne left a 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') {

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
Copy link

codecov bot commented Mar 6, 2018

Codecov Report

Merging #960 into master will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            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
Impacted Files Coverage Δ
src/client/interpreter/virtualEnvs/index.ts 100% <0%> (ø) ⬆️
src/client/linters/pylint.ts 98.33% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8c94314...9633085. Read the comment docs.

@@ -379,11 +380,12 @@ const EXPERIMENTAL_DEBUG_ADAPTER = path.join(__dirname, '..', '..', 'client', 'd
if (debuggerType !== 'python') {

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.

@DonJayamanne DonJayamanne merged commit 23b9c38 into microsoft:master Mar 7, 2018
@int19h int19h deleted the pydevd-78 branch March 7, 2018 04:21
@lock lock bot locked as resolved and limited conversation to collaborators Jul 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants