Setting Debug.protocol_trace=true will only enable debug output for protocol transitions.
For more general debug output, you should set Debug.verbosity_string to either (low, med, high) and Debug.filter_string to the flags you want to debug (See ruby/common/Debug.cc). -Derek On Mon, Jul 27, 2009 at 3:50 PM, Krishna, Tushar<[email protected]> wrote: > Hi Somayeh, > > I did that and also set RUBY_DEBUG to true in src/mem/ruby/SConsopts. > How do I enable the debug messages now (of different priorities)? I > couldn't find it as a part of the trace flags. > > Thanks! > Tushar > > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of Somayeh Sardashti > Sent: Friday, July 24, 2009 5:40 PM > To: M5 Developer List > Subject: Re: [m5-dev] Ruby's debug messages in GEM5 > > Hi, > > > Do Ruby's DEBUG messages work in the current GEM5 that is checked-in? > > (If yes, how do we enable them?) > > go to src/mem/ruby/config/defaults.rb > in class Debug, you can set your desired debug setting (set > protocol_trace to true to have debug enabled). > > > And is anyone working on unifying Ruby's DEBUG messages with M5's > DEBUG > > messages? > > At the end we will have ruby configuration in M5 style! > > Somayeh > > > Krishna, Tushar wrote: >> Hi, >> >> >> >> Do Ruby's DEBUG messages work in the current GEM5 that is checked-in? >> (If yes, how do we enable them?) >> >> And is anyone working on unifying Ruby's DEBUG messages with M5's > DEBUG >> messages? >> >> >> >> Thanks >> >> Tushar >> >> >> > ------------------------------------------------------------------------ >> >> _______________________________________________ >> m5-dev mailing list >> [email protected] >> http://m5sim.org/mailman/listinfo/m5-dev > > _______________________________________________ > m5-dev mailing list > [email protected] > http://m5sim.org/mailman/listinfo/m5-dev > > > _______________________________________________ > m5-dev mailing list > [email protected] > http://m5sim.org/mailman/listinfo/m5-dev > _______________________________________________ m5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/m5-dev
