Skip to content

Display notification when debugging without selecting a python interpreter - #2552

Merged
Don Jayamanne (DonJayamanne) merged 33 commits into
microsoft:masterfrom
DonJayamanne:issue2494
Sep 12, 2018
Merged

Display notification when debugging without selecting a python interpreter#2552
Don Jayamanne (DonJayamanne) merged 33 commits into
microsoft:masterfrom
DonJayamanne:issue2494

Conversation

@DonJayamanne

Copy link
Copy Markdown

Fixes #2494

  • Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
  • Title summarizes what is changing
  • Has a news entry file (remember to thank yourself!)
  • Has unit tests & system/integration tests
  • [n/a] Any new/changed dependencies in package.json are pinned (e.g. "1.2.3", not "^1.2.3" for the specified version)
  • [n/a] package-lock.json has been regenerated by running npm install (if dependencies have changed)

* master:
  Standardize interpreter display format (#2540)

@d3r3kk Derek Keeler (d3r3kk) left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please alter the implementation of IActiveInterpreter, but other than that this looks good.

Comment thread src/client/interpreter/activeInterpreterService.ts Outdated
Comment thread src/client/interpreter/activeInterpreterService.ts Outdated
Comment thread src/client/interpreter/contracts.ts Outdated
@DonJayamanne
Don Jayamanne (DonJayamanne) merged commit 2f7715a into microsoft:master Sep 12, 2018
Don Jayamanne (DonJayamanne) added a commit that referenced this pull request Sep 14, 2018
…#2588)

Fixes #2587 (fixes bug introduced by #2552)

* The `launch.json` can contain the value `$config:python.pythonPath}` as the value for the python path. We need to account for this value when validating the python path before debugging.
* Also moved validation code into a separate method of the diagnostics class.
@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.

Notification when starting debugging and no interpreter has been selected

2 participants