[ale] C++ Debuggery and the Path of Destruction
John Mills
johnmills at speakeasy.net
Sun Sep 26 21:38:13 EDT 2004
Barry, All -
Thanks for the lead on this. Naturally it is probably sitting patiently in
/usr/share/doc or somewhere.
On Sat, 25 Sep 2004, Barry Rountree wrote:
> There are also goodies like __DATE__ and __TIME__. Google Predefined
> Preprocessor Macros for a list.
Drop the 's' on Preprocessor' and 16,000+/- 'hits' give plenty to explore!
>
> I'm pretty sure MSVC++ has both __CLASS__ and __FUNCTION__. All the gnu
> compilers have __FUNCTION__ and __PRETTY-FUNCTION__ (which gives class info).
The first couple of hits are M$'s info.
> And yes, I found out most of this after I had larded up thirty files with
Well, here I can just grep on 'cout' and improve the informativeness of my
trace.
> Getting to remove all of those was a red-letter day.
I'm not dug in that deeply.
Thanks, and cheers.
- John Mills
john.m.mills at alum.mit.edu
More information about the Ale
mailing list