[Lldb-commits] [PATCH] Solve hang on Windows when lldb fails to launch the process

Adrian McCarthy amccarth at google.com
Tue Feb 24 16:37:33 PST 2015


In http://reviews.llvm.org/D7874#129394, @zturner wrote:

> Interesting.  The change looks correct.  Out of curiosity, what was the error launching the process?  based on the arguments that were used to attempt CreateProcess(), should the launch have succeeded under normal circumstances?  Maybe we were launching a process with a bogus path or something?


Yes, the case I debugged was specifying a non-existent working directory.  For example:

(lldb) process launch -w c:\does_not_exist

At least one of the process_launch tests does this.  The test also fails for other reasons, which I'm working on.  Since I'd seen the hang myself when learning to use lldb interactively, I thought it was worth a separate fix.


http://reviews.llvm.org/D7874

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the lldb-commits mailing list