-
Notifications
You must be signed in to change notification settings - Fork 100
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
Allow reading from stdin #167
Comments
Not sure we will implement this for MI/GDB or VSCode protocols, since this mean support external console for application stdin/stdout, that not in plans. Works fine with CLI:
|
Hmm odd, whenever running this from cli with a simple console app it always returns a System.InvalidOperation with a message saying the application is probably not ran through an interactive console or stdin is being redirected |
Update: found out readline is fine but readkey returns the error. Could be due to some oddities in how console.readkey deals with terminal events? |
I also could reproduce this issue with |
Currently it is not possible to read from STDIN while debugging an application. This makes is pretty much impossible to debug console applications as the moment a single Console.ReadLine() is met the application will throw a System.InvalidOperation Exception due to the console class not being able to read from anything.
Is there plans to implement this? shouldnt be all to hard considering almost every debugger can do this either natively or by running a seperate console to do the work from.
The text was updated successfully, but these errors were encountered: