[Interest] Console output on OS X

Sherif Ghali sherif.ghali.1 at gmail.com
Fri May 11 13:41:52 CEST 2012


To Oliver:

By 'T'erminal and 'C'onsole I did indeed mean the applications with
that name on OS X.

I am avoiding an app_bundle while debugging to increase the chances
I'd see the warning messages.

Here are more details on the question:
-- copy the two files to ~/console_output.
-- Run the OS X Terminal application.
-- In Terminal: cd ~/console_output; qmake; make.
-- run the executable './console_output 0.0'.

The message
   QPainterPath::lineTo: Adding point where x or y is NaN or Inf, ignoring call
is not printed in the Terminal. How to make it appear?

I just tried QtCreator and the message does not appear in "Application
Output". Am I missing something here? I've been using emacs for
editing and XCode for stepping, but I'll gladly switch to QtCreator if
it solves this issue.

To Lincoln:

What is console.log? I see /var/log/system.log (the message in
question does not appear in that file), but no console.log.

To Konstantin:

I've just experimented with 'syslog -C' and with 'syslog -c
console_output'. The first does not help and the second expects to
catch a running process, not set system logging for a process with
that name.

Sherif



More information about the Interest mailing list