<div dir="ltr"><div><div>Hi Maciej,<br></div></div><div><br></div><div>Yes, Dontbug is built on top of RR. Mozilla/RR can be finicky at times but overall I had a very good experience with it.</div><div><br></div><div>I developed Dontbug on Ubuntu 16.04 and I found RR to be pretty robust on that distro at least. I did encounter a serious regression once (I was on a bleeding edge commit) but it was addressed quickly after I filed a ticket. RR runs Travis tests on Ubuntu 14.04 so we can be sure about that distro also. I also see references to Fedora in RR documentation so I'm guessing RR should be good on that distribution also. </div><div><br></div><div>The reason I mention all these distros is that your experience with RR will often depend on the specific Linux kernel version and the gdb debugger version you're using (and to a slightly lesser extend the specific distro). RR tends to use a lot of hairy/advanced features like ptrace, seccomp-bpf, CPU performance counters etc. and the internal implementation of these in the kernel tends to subtly change over time (or suffer bugs). So you can often run into problems on very recent distros. For instance there is currently an outstanding ticket for test failures on Ubuntu 16.10.</div><div><br></div><div>But as mentioned, the developers tend to address these quickly. As long as you're on a mainstream non-bleeding edge distro, I would think that RR should work fine for you. The Mozilla folks use RR to debug Firefox which is a hugely complex application (as you can imagine) and this gives me confidence about the overall correctness of RR.</div><div><br></div><div>Coming to PyPy I would suggest you try RR out again. As a start, try it out on Ubuntu 16.04. If you run into problems do post a ticket on the RR project. </div><div><br></div><div>I also noticed some references to UndoDB usage on the PyPy project. How has your team's experience been with UndoDB+PyPy in general? It would interesting to learn about your experiences there...</div><div><br></div><div>Thanks,</div><div><br></div><div>Sidharth </div><div> </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 21, 2016 at 10:58 AM, Maciej Fijalkowski <span dir="ltr"><<a href="mailto:fijall@gmail.com" target="_blank">fijall@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Sidharth<br>
<br>
I see dontbug is based on rr - I would like to know how well rr works<br>
for you. We've tried using rr for pypy and it didn't work as<br>
advertised. On the other hand it seems the project is moving fast, so<br>
maybe it works these days<br>
<div><div class="h5"><br>
On Thu, Oct 20, 2016 at 9:50 PM, Sidharth Kshatriya<br>
<<a href="mailto:sid.kshatriya@gmail.com">sid.kshatriya@gmail.com</a>> wrote:<br>
> Dear All,<br>
><br>
> There have been some interesting blogs about RevDB a reversible debugger for<br>
> Python on the PyPy blog.<br>
><br>
> I'd like to tell you about Dontbug, a reversible debugger for PHP that I<br>
> recently released. Like RevDB, it allows you to debug forwards and backwards<br>
> -- but in PHP.<br>
><br>
> See:<br>
> <a href="https://github.com/sidkshatriya/dontbug" rel="noreferrer" target="_blank">https://github.com/<wbr>sidkshatriya/dontbug</a><br>
><br>
> For a short (1m35s) demo video:<br>
> <a href="https://www.youtube.com/watch?v=DA76z77KtY0" rel="noreferrer" target="_blank">https://www.youtube.com/watch?<wbr>v=DA76z77KtY0</a><br>
><br>
> Why am I talking about this in a PyPy mailing list :-) ? Firstly, because I<br>
> think reverse debuggers for dynamic languages are relatively rare -- so its<br>
> a good idea that we know about each other! Secondly, the fact that there are<br>
> more and more reversible debuggers for various languages every year means<br>
> that reverse debugging is definitely entering the mainstream. We could be at<br>
> an inflexion point here!<br>
><br>
> Hope you guys find Dontbug interesting!<br>
><br>
> Thanks,<br>
><br>
> Sidharth<br>
><br>
><br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> pypy-dev mailing list<br>
> <a href="mailto:pypy-dev@python.org">pypy-dev@python.org</a><br>
> <a href="https://mail.python.org/mailman/listinfo/pypy-dev" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/pypy-dev</a><br>
><br>
</blockquote></div><br></div>