I have a program that I compiled with clang++ -Wall -g
, and it runs when I just do ./a.out
. It asks me for my input and then computes some stuff.
However, when I try debugging it with LLDB, the run command doesn't ask for an input. I just did:
lldb a.out
run
The run command gets stuck and doesn't take any input through cin
.
What am I doing wrong?