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

Debug: Run in External Terminal Returns Error Message on Exit #136

Closed
DonJayamanne opened this issue Nov 13, 2017 · 1 comment
Closed

Debug: Run in External Terminal Returns Error Message on Exit #136

DonJayamanne opened this issue Nov 13, 2017 · 1 comment
Labels
area-terminal bug Issue identified by VS Code Team member as probable bug
Milestone

Comments

@DonJayamanne
Copy link

From @jakinov on July 3, 2017 21:46

Environment data

VS Code version: 1.13.1
Python Extension version: 0.6.7
Python Version: 2.7.10
OS and version: Win 10 Creators Update

Actual behavior

Close external terminal/console after program run (either click Stop on VS Code, X on window or any key on "press any key to continue". Get error message "Debug adapter process has terminated unexpectedly". Reproducible on two different Win10 machines.

image

Expected behavior

No error message.

Steps to reproduce:

  • Default launch config. Run any app in debugger in external terminal.
  • Close terminal

Settings

Your launch.json (if dealing with debugger issues):

default config

Your settings.json:

default settings

Logs

Output from Python output panel

Nothing Relevant

Output from Console window (Help->Developer Tools menu)

Debug adapter process has terminated unexpectedly
e.doShow @ messageService.ts:125

Copied from original issue: DonJayamanne/pythonVSCode#1067

@DonJayamanne DonJayamanne added bug bug Issue identified by VS Code Team member as probable bug and removed bug labels Nov 13, 2017
@DonJayamanne DonJayamanne added this to the December 2017 milestone Nov 17, 2017
@DonJayamanne
Copy link
Author

Duplicate #191

DonJayamanne added a commit that referenced this issue Nov 22, 2017
#249)

- Fixes #25, #32, #35, #235, #242 (unable to run without debugging using CTRL+F5)   
- Fixes #191, #158, #24, #136  (error message displayed when debugged code terminates)  
- Fixes #157 (debugger crashes when python program does not launch)
- Fixes #114, #149, #250 (use vscode infrastructure to launch debugger in integrated and external terminals)  
- Fixes #239 Remove prompt added to pause terminal upon program completion
@lock lock bot locked as resolved and limited conversation to collaborators Jul 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-terminal bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

2 participants