[Lldb-commits] [PATCH] D18335: Fix for missing prompt on Windows
Ted Woodward via lldb-commits
lldb-commits at lists.llvm.org
Wed Mar 23 16:04:01 PDT 2016
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.
More information about the lldb-commits