[WAY OT] how to gdb a running process *non-intrusively*??

Cameron Simpson cs at zip.com.au
Fri Apr 18 01:16:35 UTC 2008


On 18Apr2008 08:22, Ed Greshko <Ed.Greshko at greshko.com> wrote:
> Robert P. J. Day wrote:
>>   assume i have a symbol-laden copy of the executable, and that all i
>> want to do is, in real time, print variable contents as the process
>> continues to run with no interference of the process itself.  thanks
>> muchly.
>
> That would violate the Heisenberg uncertainty principle.  :-)

Indeed. And that is why bugs that go away under debuggers and in the
presence of debugging "print" statements are called "Heisenbugs".

Cheers,
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

B1FF is an archetype, and all you're showing us is one of the more amusing of
his many instantiations.        - Howard E. Motteler <motteler at umbc.edu>
Ah, perhaps Arthur Clarke anticipated this in his celebrated short story,
"The Nine Million Names Of B1FF"? - Nosy <ataylor at nmsu.edu>




More information about the users mailing list