-
Notifications
You must be signed in to change notification settings - Fork 118
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
Can not wait for user input #262
Comments
gitpod-io/gitpod#3566 |
I was only able to get the user input properly with ms-vscode.cpptools locally with VSCode for now. |
Same behavior there : eclipse-cdt-cloud/cdt-gdb-vscode#43 |
You you please re-run with |
I think this is related to the use of |
hm the commands not starting with a However I don't think that is related to this problem at all, that input afaik isn't being piped to the program directly usually. You can try launching the program in separate terminal mode, which makes it pop up a console window that does the std io handling. |
But the code suggest it does: So the startup here takes 8 For me the main question is really: why use |
Friendly ping @WebFreak001 because this really bugs me - as long as the program running is accepting input it should get through via stdin - and to allow that the extension should never send data there to communicate with GDB, shouldn't it? |
feel free to replace calls to sendRaw with sendCommand if they come from the extension and using User input to the debug console should still support GDB commands if given as is and MI commands when starting with |
Hi guys, I can get the getChar with the 25.1. The only thing is that I get a "Cancelled" in the Debug console at the end of the execution. |
With a recent GitPod Workspace : https://coral-puffin-q8gr472u.ws-eu17.gitpod.io I miss the getChar and the breakpoint. |
I don't think the fix for this has been released yet, but it should be there on master. |
Thanks for the reply @WebFreak001! May be we could add on the main README.md the latest published versions on the markets. |
That should be fixed now, no? An external console would obviously make that easier in any case, but that's a different issue. |
$ gdb --version
GNU gdb (Debian 8.2.1-2+b3) 8.2.1
I get the program running properly with the terminal.
In VSCode the prorgam does not wait for the user input.
The text was updated successfully, but these errors were encountered: