Skip to main content
Email Password   helpLost your password?

Articles by Paul Mclachlan (1 article found)

Average article rating: 4.59

Debug Tips

Getting around the need for a vararg #define just to automatically use __FILE__ and __LINE__ in a TRACE macro
Last Updated: 9 Jan 2003   Page Views: 62,161   Rating: 4.59/5    Votes: 26   Popularity: 6.49   Bookmark Count: 30
Ever wrote #define TRACE, #define TRACE1, #define TRACE2, etc., just so you could use the __FILE__ macro and printf style formatting in a macro at the same time?

Paul Mclachlan


Member

Occupation: Web Developer
Location: United States United States


Last Updated 21 Nov 2009 | Advertise | Privacy | Terms of Use | Copyright © CodeProject, 1999-2009