<div dir="ltr"><div class="gmail_default" style="color:#000000"><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jun 2, 2013 at 11:10 PM, Dan Sommers <span dir="ltr"><<a href="mailto:dan@tombstonezero.net" target="_blank">dan@tombstonezero.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, 02 Jun 2013 20:16:21 -0400, Jason Swails wrote:<br>
<br>
> ... If you don't believe me, you've never hit a bug that 'magically'<br>
<div class="im">> disappears when you add a debugging print statement ;-).<br>
<br>
</div>Ah, yes.  The Heisenbug.  ;-)<br></blockquote><div><br></div><div style="color:rgb(0,0,0)" class="gmail_default">Indeed.  Being in the field of computational chemistry/physics, I was almost happy to have found one just to say I was hunting a Heisenbug.  It seems to be a term geared more toward the physics-oriented programming crowd.</div>
<div style="color:rgb(0,0,0)" class="gmail_default"><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="color:rgb(0,0,0);display:inline" class="gmail_default"></div>We used to run into those back in the days of C and assembly langua<div style="color:rgb(0,0,0);display:inline" class="gmail_default"></div>ge.<br>

<div style="color:rgb(0,0,0);display:inline" class="gmail_default"></div>They're much harder to see in the wild with Python.<div style="color:rgb(0,0,0);display:inline" class="gmail_default"></div></blockquote><div>
 </div><div><span style="color:rgb(0,0,0)"><div style="color:rgb(0,0,0);display:inline" class="gmail_default">Yea, I've only run into Heisenbugs with Fortran or C/C++.  Every time I've seen one it's been due to an uninitialized variable somewhere -- something valgrind is quite good at pinpointing.  (And yes, a good portion of our code is -still- in Fortran -- but at least it's F90+ :).</div>
</span></div></div></div></div>