Skip to content

On Linux using lldb-vscode how do I handle getchar() in a CLI app? #57754

@acotty

Description

@acotty

On Linux when I use lldb-vscode to debug a simple CLI app with a getchar() in it how should the getchar() work with regards to where it the input from/sourced or sent to the lldb-vscode app being debugged?

I cannot see any terminal like the MSYS2 clang64 Windows lldb-vscode.exe starts.
The DAP protocol does not allow the IDE to send any input to the lldb-vscode.
The lldb-vscode does not sent a RunInTerminalRequest.

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    lldbquestionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions