Incidentally, GDB can sometimes evaluate breakpoint conditions on the target:<p><a href="https:&#x2F;&#x2F;sourceware.org&#x2F;gdb&#x2F;onlinedocs&#x2F;gdb&#x2F;Conditions.html" rel="nofollow">https:&#x2F;&#x2F;sourceware.org&#x2F;gdb&#x2F;onlinedocs&#x2F;gdb&#x2F;Conditions.html</a> (search for &quot;target&#x27;s side&quot;)<p>I don&#x27;t know what targets support it, though.  (Pretty sure OS X isn&#x27;t one of them.)