panicinc/icarus

Send stdin input to lldb debugger not responding

Goooyi opened this issue · 1 comments

I have a C code :

printf("What's your First Name?");
in = fgets(you.first_name, MAX_DATA - 1,stdin);

When I launch the dubber, and hit this line, the bulit-in dubbger wait for me to give input (still not hitting break point yet, so the process is still running), as seen here:
image
But when I type something the built-in dubbger shell is not responding when I type in and thing and hit "Enter",

Do I need to hit some shortcut or I' missing something?
Thanks

Sorry for the delay in answering this.

This isn't supported by the Debug Adapter Protocol at the moment. Debugged executables cannot have their stdin rerouted in a way that the IDE can send data to it without being routed through, for example, a terminal.

We'll continue watching this to see if something is added, but for the moment this is sadly not possible.

(See: microsoft/debug-adapter-protocol#216)