Reputation: 51
I have written a code like this:
#include <iostream>
int main(){
int a,b;
std::cin >> a >> b;
std::cout << a+b;
}
After running the run command in GDB, I managed to complete the input. But with LLDB, I can't enter it anyway.
I tried google and did not find anything about it.
What should I do?
I can't input on LLDB. I ran the run command on the command line and a window popped up with the file name I compiled. I am unable to input anything in the new window, even though cin is waiting for my input at this time. When I randomly input something in the LLDB of the back window (even if they are not LLDB commands), I can input it normally in the front window. Why is this?
Upvotes: 0
Views: 78