I actually like the idea of feeding command lines.  Again, not when the command you're running prints a huge block of text and you try to match it.  But for "get the debugger into the state where i can reproduce the bug", and sometimes the step to actually repro it, I think it's hands down the best.<br><br>You can look at a test and tell in a few seconds how to repro it.  You can grok the test almost immediately.  More importantly, it gives you everything you need to repro it under a debugger.  If you wanted to be fancy it could even spit out a command file so you could get the test case failing in a debugger in seconds <br><br><br><div class="gmail_quote"><div dir="ltr">On Wed, Sep 14, 2016 at 6:02 PM Sean Callanan <<a href="mailto:scallanan@apple.com">scallanan@apple.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="gmail_msg">I agree completely with tackling the easy stuff first.<div class="gmail_msg">That said, the easy stuff (probably >50% of the testsuite) doesn't even require command-line interaction and is just of the form "stop here, run this one expression, maybe print this variable using 'frame variab'e'"</div><div class="gmail_msg">I would argue that we can find a simpler way to handle these cases than feeding lldb command lines to the command-line parser.</div><div class="gmail_msg">To be clear, that simpler way is not the SB API, it's probably a special-purpose language that knows how to stop at breakpoints and inspect locals/run expressions.  That's all it does.</div><div class="gmail_msg">The SB API / command line parser argument is for what I'd argue are the complex cases, and I think we should deal with those later because they're both technically hairy and seem to attract more discussion.</div></div><div style="word-wrap:break-word" class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Sean</div></div><div style="word-wrap:break-word" class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg"><div class="gmail_msg"><blockquote type="cite" class="gmail_msg"><div class="gmail_msg">On Sep 14, 2016, at 5:57 PM, Zachary Turner <<a href="mailto:zturner@google.com" class="gmail_msg" target="_blank">zturner@google.com</a>> wrote:</div><br class="m_414109837794467828Apple-interchange-newline gmail_msg"><div class="gmail_msg"><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class="gmail_msg">1. get all the easy stuff out of the way first, such as the tests in this patch (and there are probably at least 100 more that are just as easy)</div><br class="m_414109837794467828Apple-interchange-newline gmail_msg"></div></blockquote></div><br class="gmail_msg"></div></div></blockquote></div>