delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/07/09/02:57:25

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: "Lars Gregersen" <lg AT popeye DOT kt DOT dtu DOT dk>
Organization: Institut for Kemiteknik
To: cygwin AT sourceware DOT cygnus DOT com
Date: Fri, 9 Jul 1999 08:57:14 -0100
MIME-Version: 1.0
Subject: Re: Windows TRACE message
Reply-to: lg AT kt DOT dtu DOT dk
CC: cygwin AT sourceware DOT cygnus DOT com
In-reply-to: <199907090647.BAA29870@mercury.xraylith.wisc.edu>
References: Your message of "Fri, 09 Jul 1999 08:29:40 -0100." <5E4B066590 AT popeye DOT kt DOT dtu DOT dk>
X-mailer: Pegasus Mail for Windows (v3.01d)
Message-ID: <5EC0834391@popeye.kt.dtu.dk>

To:             	lg AT kt DOT dtu DOT dk
Copies to:      	cygwin AT sourceware DOT cygnus DOT com
Subject:        	Re: Windows TRACE message 
Date sent:      	Fri, 09 Jul 1999 01:47:41 -0500
From:           	Mumit Khan <khan AT xraylith DOT wisc DOT EDU>

> "Lars Gregersen" <lg AT popeye DOT kt DOT dtu DOT dk> writes:
> > 
> > I prefer to use the API function OutputDebugString. It isn't as 
> > powerful as the printf type of commands, but it sends a string to a
> > seperate debug window. This also has the great effect that I'f you're
> > testing multiple programmes at the same time you get the output in order
> > in the same window. It works for GUI and console programmes.
> > 
> > You can get a debug string viewer (for free) at www.sysinternals.com
 
> Thanks for the very useful pointer.
> 
> I tend to use a debugging stream (most of my code is C++) that has
> a subclass for win32 that opens a scrolled window and just dumps

This looks very much like the OutputDebugString method. Of course the 
sysinternals prorgamme has things such as time, filters, remote 
debugging that sometimes comes in handy.

I also use this for Matlab programming where I can check out my (very 
simple) socket pramming when communicating between Matlab and C++ 
programmes.

In any event, all the tools as sysinternals.com are top quality and 
very useful - and they're free. The only programme of theirs I 
haven't tested is their Blue Screen of Death Screensaver ;-)

> everything there. Very simple, and you can use iostream style
> formatting.

This I really miss for the OutputDebugString method!

> One of these days I'll clean up the copyright and release it. it's 
> part of a commercial package, but since I own it, I can probably
> convince our commercial arm to make it freely available.

Like the rest of the things you're providing us with I will be 
looking very much forward to this.

  Regards

    Lars


--------------------------------------------------------------------- 
Lars Gregersen                         Telephone no.: +45 45 25 28 08
Technical University of Denmark        Fax no.      : +45 45 88 22 58
Department of Chemical Engineering     E-mail       : lg AT kt DOT dtu DOT dk
Bygning 229
DK-2800 Lyngby
Denmark
---------------------------------------------------------------------
Homepage: http://www.gbar.dtu.dk/~matlg/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019