|
From: Marc H. <ma...@e-...> - 2003-01-07 13:54:38
|
Hi Per, Once again you have helped me immensely. DebugView has been successfully integrated into my programming arsenal, and it is exactly what I needed. It's a pity that Dev-C++ does not have a DebugView like feature built in, but such is life. Perhaps in the future. _____________________________ Marc Heiligers -----Original Message----- From: Per Westermark [mailto:pw...@ia...] Sent: 07 January 2003 03:23 PM To: Marc Heiligers Cc: dev-cpp-users-list Subject: Re: [Dev-C++] debugging macros Create your own TRACE #define that calls an own-made function using sprintf() to a buffer, and then emitting the buffer to the windows function OutputDebugString(). That way, you may use any windows debugger or debug tracer program and view the debug output while running your program. If you go to www.sysinternals.com, you can download a nice program DebugView, that will connect to the windows debug stream. /Per W On Tue, 7 Jan 2003, Marc Heiligers wrote: > Hi All, > > I'm having a little trouble debugging. What I'd like, is something > like the > VC++ TRACE macros (and maybe TRACE0, TRACE1, ...) to write to stderr, > VC++ and > then to be able to view that during execution. Unfortunately, although > I've been programming for a long long time, I've never had a need for > these goodies before, so I don't even know where to start. Perhaps > someone could give me a bit of a pointer in the right direction, or a > web tutorial, or something. > > Thanks, > > _____________________________ > Marc Heiligers > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Dev-cpp-users mailing list Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |