Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

setting breakpoint for all writes to stderr



I've got a program using a third-party library that is printing output to either stderr or stdout. When I set breakpoints on printf, fprintf, fwrite gdb never stops. Is there a way to break on any output to stdout/stderr no matter what function is called? Is there a low level primitive all output functions call?

TIA

_____________________________________________________________________
                                    "The best assumption to have
Mark J. Lilback                      is that any commonly held
<email@hidden>                   belief is wrong." -- Ken Olsen,
http://www.lilback.com/              founder, Digital Equip. Corp.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.