microsoft / vscode-cpptools

Official repository for the Microsoft C/C++ extension for VS Code.
Other
5.44k stars 1.53k forks source link

[LLDB]The console windows is not closed after debugging stopped #499

Closed caslan closed 4 years ago

caslan commented 7 years ago

Sample code attached.

Configuration:

VSCode(Stable) + cpptools(0.8.0)

Steps to repro:

1) Compile the sample code: clang++ -g a.cpp b.cpp c.cpp -lpthread

2) Open the sample code folder in vsocde.

3) Set a BP at line 40 in c.cpp

4) Set debug type to Launch, then F5 break.

5) stop debugging

Expected:

The console window will be closed also after debugging stopped.

Actual:

The console windows is not closed after debugging stopped. test.zip

pieandcakes commented 4 years ago

This is a configuration in Terminal and isn't controlled by the extension.