forked from DonJayamanne/pythonVSCode
-
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
Run Selection/Line and Run File produce error when used consecutively #2997
Labels
area-editor-*
User-facing catch-all
area-repl
feature-request
Request for new features or functionality
needs proposal
Need to make some design decisions
Comments
brettcannon
added
triage
bug
Issue identified by VS Code Team member as probable bug
area-terminal
and removed
triage
labels
Oct 25, 2018
Related to #7206 |
I observe a similar problem on Windows: Environment data
Expected behaviour
Actual behaviour
1) 'Run File in Python terminal'(OK)
2) 'Run Selection/Line in Python terminal'(OK)
3) Try again 'Run File in Python terminal'(ERROR => in terminal '2: Python' REPL is still active!!!)
selecting terminal '1: cmd' or opening new terminal does not work, since run jumps into '2: Python'. 4) Exit REPL manually
5) 'Run File in Python terminal'(OK)
6) 'Run Selection/Line in Python terminal'(ERROR because of 3) => REPL is not initialized a second time.)
Steps to reproduce:
|
brettcannon
added
needs decision
feature-request
Request for new features or functionality
and removed
needs PR
bug
Issue identified by VS Code Team member as probable bug
labels
Dec 3, 2020
luabud
added
needs proposal
Need to make some design decisions
and removed
needs decision
labels
Dec 16, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area-editor-*
User-facing catch-all
area-repl
feature-request
Request for new features or functionality
needs proposal
Need to make some design decisions
Environment data
Actual behavior
After 'Run Selection/Line in Python terminal' once, if 'Run Python File in terminal' is used, the command tries to execute in the ongoing interpreter session invoked by the first 'Run'
After 'Run File in Python terminal' once, if 'Run Selection/Line in terminal' is used, the command tries to execute in the open shell session invoked by the first 'Run' directly without invoking the interpreter first
Expected behavior
Steps to reproduce:
The options can be done in reverse order too. It produces and error too.
Output from
Console
under theDeveloper Tools
panel (toggle Developer Tools on underHelp
)The text was updated successfully, but these errors were encountered: