[haiku-development] Re: Enabling TRACE output?

  • From: Pete Goodeve <pete.goodeve@xxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 5 Apr 2013 15:47:49 -0700

On Fri, Apr 05, 2013 at 05:08:51AM +0200, Fran?ois Revol wrote:
> Hi,
> 
> On 05/04/2013 03:38, Pete Goodeve wrote:
> > I'm assuming that if I get the 'TRACE' statements in the usb_hid
> > sources enabled, I'll see diagnostics in syslog, but how do I do that?
> > I thought maybe doing a 'jam -sDEBUG=1 -q' would do it, and it
> > generated a much bigger file, but there's no new output in syslog.
> > (I tried -sDEBUG=9 and it started to compile the whole of Haiku
> > into the usb_hid source dir!)
> 
> You'll want to check build/jam/UserBuildConfig.sample :
> 
> # Enable debugging for directory src/system/boot/loader recursively.
> #SetConfigVar DEBUG : HAIKU_TOP src system boot loader : 1 : global ;

Thanks.  Seems I was on the wrong track, though.  I assumed
the "TRACE" statements were using the system definition -- until
I realized that *those* don't accept arguments!

It's a local definition that is just commented out.  Not affected
by the DEBUG flag at all.  I'll try again...

        -- Pete --

Other related posts: