llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
27.92k stars 11.52k forks source link

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

Open acotty opened 1 year ago

acotty commented 1 year ago

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?

llvmbot commented 1 year ago

@llvm/issue-subscribers-lldb