zturner added a comment.

Also, it occurred to me that if all tests were like this (and yes, that's a 
tall order to imagine a world where not a single test was written using the 
Python API), we could probably actually drop the Python 3.5 requirement on 
Windows.

Another thing that's nice about tests like this is that it makes it trivial to 
see how to reproduce a failure.  It's currently very hard to debug failures 
because you have to first figure out where in the test it's failing (i.e. what 
line of python), then attach to the python executable and try to get a 
breakpoint on the native code side in the right SB API call matching up with 
the place where you determined the test is failing.  This is really a pain 
without a debugger that supports mixed<->native transitions between python and 
c++, and even with a debugger that does support it like we have on Windows, it 
often doesn't work very well or exhibits flakiness.


https://reviews.llvm.org/D24591



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

Reply via email to