Skip to content
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

How can I receive input from the user in the terminal? #323

Open
Stephen291299 opened this issue Feb 23, 2024 · 0 comments
Open

How can I receive input from the user in the terminal? #323

Stephen291299 opened this issue Feb 23, 2024 · 0 comments

Comments

@Stephen291299
Copy link

Hello everyone,

I'm currently facing an same issue while debugging a program that involves user input via scanf. I have set a breakpoint at the scanf line, but when I try to input data during debugging, there is no response.

I have tried using the command 'handle SIGTTIN nostop noprint', which I believe should help resolve this issue. However, even after applying this command, the debug session remains unresponsive.

Could someone please advise on how to correctly debug a program with user input via scanf while ensuring breakpoints are effective?
if any chance for open new terminal for the input time?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant