ted added a comment.

Adrian and I worked out what is going on:

1. Run starts the launch and writes a prompt
2. State change fires, prints out “launching” through async, overwriting the 
prompt from 1) and writing a new prompt
3. CommandObjectProcessLaunch::Execute appends “launch” to the result. The 
result gets printed, after the prompt from 2)
4. State change fires, prints out “stopped” through async, overwriting no 
prompt because we’re on a fresh line and writing a new prompt

I think the only way to fix this is to copy the Windows specific code from 
IOHandlerEditLine::PrintAsync to CommandObjectProcessLaunch::Execute. Adrian 
and I don't want to add platform specific code to CommandObjectProcessLaunch, 
and this fix is a major improvement, so we'll go with this version.


http://reviews.llvm.org/D18335



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to