<div dir="ltr">Really sounds great & the bugs so far look pretty good.<br><br>One possible enhancement/request: It might be worth being able to prioritize certain kinds of debug info quality problems:<br><br>* "incorrect stepping" (especially if it can be shown to step into code that is /never/ executed) is a pretty high priority for any sample based profiling<br>* It's possible that we could prioritize some optimized debug info quality over others - like "can you print the parameters to a function on function-entry" (especially without inlining - it'd be good to prioritize all those "missing parameters on entry to a non-inlined function" perhaps)<br><br>- Dave</div><br><div class="gmail_quote"><div dir="ltr">On Fri, Aug 31, 2018 at 4:26 PM Greg Bedwell via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">I'm happy to announce that DExTer (Debugging Experience Tester) is now available on github at <a href="https://github.com/SNSystems/dexter" target="_blank">https://github.com/SNSystems/dexter</a> .  To quote from the project readme:</div><div dir="ltr"><br></div><div dir="ltr"><span style="color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:16px">"DExTer is a suite of tools used to evaluate the "User Debugging Experience". DExTer drives an external debugger, running on small test programs, and collects information on the behavior at each debugger step to provide quantitative values that indicate the quality of the debugging experience."</span></div><div dir="ltr"><br></div><div dir="ltr">My hope is that it will be a useful tool to help find both existing cases of poor debug experience as well as spot any regressions in that experience as they occur.  As I've previously stated, I think that this should be nicely complementary to other utlities such as <a href="http://llvm.org/docs/SourceLevelDebugging.html#testing-debug-info-preservation-in-optimizations" target="_blank">debugify</a> and <a href="https://github.com/SNSystems/DIVA" target="_blank">DIVA</a>. We also intend to contribute continuous DExTer testing of LLVM trunk in the future so we'll be able to immediately track any differences in the debugging experience score down to individual commits as they happen.  </div><div dir="ltr"><br></div><div dir="ltr">For now we've been using it to find small cases where debugging of clang compiled programs at "-O2 -g" is significantly worse than with "-O0 -g" in ways that can hopefully be resolved through more careful preservation of debug data.  We're using the following meta-bug to keep track of the issues that we find (and hopefully fix): <a href="https://bugs.llvm.org/show_bug.cgi?id=38768" target="_blank">https://bugs.llvm.org/show_bug.cgi?id=38768</a></div><div dir="ltr"><div><br></div><div>The original slides and poster that I presented at EuroLLVM earlier this year can be found here:</div><div><div><br></div><div>slides: <a href="http://llvm.org/devmtg/2018-04/slides/Bedwell-Measuring_the_User_Debugging_Experience.pdf" target="_blank">http://llvm.org/devmtg/2018-04/slides/Bedwell-Measuring_the_User_Debugging_Experience.pdf</a></div><div>poster: <a href="http://llvm.org/devmtg/2018-04/slides/Bedwell-Measuring_the_User_Debugging_Experience_poster.png" target="_blank">http://llvm.org/devmtg/2018-04/slides/Bedwell-Measuring_the_User_Debugging_Experience_poster.png</a></div></div><div><br></div><div>Thanks to everyone who's helped out with the development of DExTer so far, especially to Stephen Wilks who worked closely with me on the initial development of the project.<br></div><div><br></div><div>Thanks,</div><div>-Greg</div></div></div></div></div>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>