- send empty line for multiple commands to complete
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I don't understand why it is necessary on OSX but I am fine with this change if it fixes the issue (at the moment I am struggling with building lldb on OSX so I can't test it).
One question: How many empty lines should we send? Is it always enough to send 2, or should we send the same number of empty lines then the number of lines in the original command?
Comment Actions
Based on experiment I had, we need to send empty lines the same times as the number of lines in original commands on Darwin.
But on Linux, only one empty line is needed for multiple lines of commands.
It seems on Darwin, lldb doesn't automatically execute commands separated by new line.