[webkit-dev] how could I use std::cout in webkit?

Zhao, Halley halley.zhao at intel.com
Mon Nov 12 16:21:04 PST 2012

The same code works for me when I'm back to work today.
It is amazing, and I remember that used to work for me days ago.

-----Original Message-----
From: Thiago Marcos P. Santos [mailto:tmpsantos at gmail.com] 
Sent: Tuesday, November 13, 2012 1:36 AM
To: Zhao, Halley
Cc: webkit-dev at lists.webkit.org
Subject: Re: [webkit-dev] how could I use std::cout in webkit?

On Mon, Nov 12, 2012 at 12:00 PM, Zhao, Halley <halley.zhao at intel.com> wrote:
> Nothing shows in terminal when I added some std::cout in source code, 
> any hints to print some log in webkit?
> My build command line: "./build-webkit --gtk --3d-rendering 2>&1 | tee 
> build.log"
> My run command line: "./run-launcher --gtk
> --enable-accelerated-compositing=1 http://localhost/test.html 2&>1 | 
> tee log.txt"

run-launcher script might be "eating" the std output. Try invoking the browser binary directly.

More information about the webkit-dev mailing list