microsoft / microsoft/vscode-cpptools

waiting for v8 protocol on stdin/stdout

Aperta
#2,382 7 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@WardenGnaw ci sta già lavorando.

Dal 10/8/2018.

debugger
Lingua principale
TypeScript
Stelle
6.2k
Fork
1.7k
Merge medio
14h 46m
PR unite (30g)
61

Descrizione

Type: Debugger
Input information below

Please review existing issues and our documentation at https://github.com/Microsoft/vscode-cpptools/tree/master/Documentation prior to filing an issue.

Describe the bug

  • OS and Version:

Ubuntu 16.04

  • VS Code Version:

1.25.1

  • C/C++ Extension Version:

0.17.7

  • Other extensions you installed (and if the issue persists after disabling them):

cmake tools 1.1.1

  • A clear and concise description of what the bug is.

Unable to 'cout' to the console.
instead there is this message in the extension console:
"waiting for v8 protocol on stdin/stdout"

I tried to google this message and find informations on the web, but maybe my knowledge is not enough.

Here is the main.cpp file from cmake : quick start

#include

int main(int, char**) {
std::cout << "Hello, world!\n";
}

To Reproduce
Steps to reproduce the behavior:

Installed last version of cmake
installed last version of clang
installed last version of studio code
delete all studio code user settings
launch vscode studio
installed last version of plugin cpptools
installed last version of cmake tools
change user settings to the path of cmake
change user settings to the path of clang
restart vs code studio
create a new folder 'test'
palette: cmake : quick start with this settings : gcc 5.4, Executable, project title 'test'.
Press button to build
Press button to debug
Open extension console, the message "waiting for v8 protocol on stdin/stdout" is displayed, but no "Hello World" message.

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.