qt-interest@trolltech.com
[Top] [All Lists]

RE: Debug Messages w/o newline

Subject: RE: Debug Messages w/o newline
From: "Schumacher, Gordon"
Date: Wed, 7 Dec 2005 12:16:30 -0700
# From: Stefan Sander [mailto:stefan-sander@xxxxxx]
# Sent: Tuesday, November 22, 2005 11:00 AM
# To: qt-interest@xxxxxxxxxxxxx
# Subject: Re: Debug Messages w/o newline
#
# Am Dienstag, 22. November 2005 18:21 schrieb Chris Comparini:
#
# Thanks that did the trick.
#
# It seems that using std::cout with Qt is line buffered although it is
# not in other environments.
# I had to flush the stream to get my output before a newline.

A bit of information that might be useful - though it is
platform-specific - is that under Microsoft platforms (and perhaps with
Borland as well) you can call the Win32 API function OutputDebugString
and it will act much like qDebug does, in that it will output the string
to the "Output" window in your debugger.

--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with 
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>
  • RE: Debug Messages w/o newline, Schumacher, Gordon <=