<div dir="ltr"><div><div><div><div>Thank you for your quick answer.<br></div>I am using lldb 3.6.0 (the only one packaged for this Ubuntu).<br></div>I will see if a more recent Ubuntu has lldb 3.7, or try to install a recent version from the sources.<br></div>Regards,<br></div>Louis<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 8 September 2015 at 14:58, Pavel Labath <span dir="ltr"><<a href="mailto:labath@google.com" target="_blank">labath@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
thanks for your report.<br>
<br>
Let me first ask you a question. Which version of lldb are you using?<br>
<br>
If it's anything less than 3.7, then I strongly recommend to upgrade,<br>
since linux support was not in a very good state there. If you are<br>
using 3.7 or svn, then the thing you are describing should work. If it<br>
does not please send your script along with your test app (or better<br>
yet, file a bug at <<a href="http://llvm.org/bugs" rel="noreferrer" target="_blank">llvm.org/bugs</a>> and I will take a look.<br>
<br>
cheers,<br>
pl<br>
<br>
<br>
On 8 September 2015 at 13:29, Louis Granboulan via lldb-dev<br>
<div><div class="h5"><<a href="mailto:lldb-dev@lists.llvm.org">lldb-dev@lists.llvm.org</a>> wrote:<br>
> Dear all,<br>
><br>
> I am new to lldb-dev and I hope that this issue has not already been<br>
> reported. I did not find any reference of it.<br>
><br>
> I started with the example from section "Using the lldb.py module in python"<br>
> of<br>
> <a href="http://lldb.llvm.org/python-reference.html" rel="noreferrer" target="_blank">http://lldb.llvm.org/python-reference.html</a><br>
> and decided to have the process continue after having printed some<br>
> information about the breakpoint context. It allows to have multiple<br>
> breakpoints and display information about every breakpoint, or to have a<br>
> breakpoint at a function that is called many times and to display<br>
> information for every call.<br>
><br>
> On a MacOSX machine (any recent version) it works well, but on a Linux<br>
> machine (Ubuntu 14.04 64 bits) it looks like process.Continue() makes the<br>
> program continue at the breakpoint instead of at the instruction following<br>
> the breakpoint. Therefore, it enters an infinite loop.<br>
><br>
> I can attach the python script, but this script is just made by taking the<br>
> example of the webpage, putting in a "while True" loop everything after<br>
> "state = process.GetState()" and adding at the end of the loop the<br>
> instruction "process.Continue()".<br>
><br>
> Regards,<br>
> Louis<br>
><br>
</div></div>> _______________________________________________<br>
> lldb-dev mailing list<br>
> <a href="mailto:lldb-dev@lists.llvm.org">lldb-dev@lists.llvm.org</a><br>
> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev</a><br>
><br>
</blockquote></div><br></div>