[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] a warning
>HI, Thanks for your reply! sorry for the stupid question, but how to do
>that? where to set that defualt variable?
try ~ns/tcl/lib/ns-default.tcl
Kun-chan Lan
>I could not find any debug_ method or internal variable in Snoop or
>LLSnoop class, so even I set a default variable, I am wondering How the
>system know how to handle the debug related information?
>
>Thanks!
>yan
>
>On Tue, 13 Jun 2000, Fabienne LEFEVRE wrote:
>
>> Hi Yan Yu,
>>
>> This warning will probably disapear if you add a default value for your
>> variable in ns-default.
>>
>> Fabienne
>>
>> Yan Yu wrote:
>> >
>> > HI, there,
>> > when I run the simulation , I got the warning msg:
>> >
>> > warning: no class variable Snoop::debug_
>> >
>> > see tcl-object.tcl in tclcl for info about this warning.
>> >
>> > Does it matter? does it mean there is no debug method is defined in
Snoop
>> > class? I could not find out where it try to call Snoop::debug_
though.
>> > I have looked at tcl/ex/snoop/snoop.tcl; util.tcl, and snoop.cc(h)
under
>> > ns main directory, but could NOT find a place calling debug.. so it
kind
>> > of wired to me..
>> >
>> > DOes anyone have clue about it? DOes this warning matter?
>> >
>> > Thanks in advance!
>> > yan
>