[ndnSIM] Visualizer shows something no showed in NS_LOG
Alex Afanasyev
aa at CS.UCLA.EDU
Mon May 30 14:34:00 PDT 2016
Did you use --debug flag when configuring the scenario? If not, it still uses the optimized version of NS-3.
--
Alex
> On May 30, 2016, at 3:12 AM, Muhammad Hosain Abdollahi Sabet <mhasabet at gmail.com> wrote:
>
> I did compile NS-3 in debug mode. And did compile my scenario with
>
> export 'NS_LOG=*=debug|prefix_func|prefix_time'
> but again, I got only my application LOGs. So?
>
> Regards,
> Sabet
>
> On Mon, May 30, 2016 at 11:00 AM, Muhammad Hosain Abdollahi Sabet <mhasabet at gmail.com <mailto:mhasabet at gmail.com>> wrote:
> Alex,
>
> You're right. I've wafed with -d optimized accoriding to scenario-tamplate. I'll compile in debug mode and will let you know.
>
> Thanks,
> Sabet
>
> خندان باشید
> با تشکر
>
> On Mon, May 30, 2016 at 12:24 AM, Alex Afanasyev <aa at cs.ucla.edu <mailto:aa at cs.ucla.edu>> wrote:
> NS_LOG is enabled only in debug version of the simulator and scenario. I'm guessing that you have compiled in optimized mode, where al NS_LOG macros are expanded to nothing. Visualizer is using trace mechanism, so it works in either case.
>
> Just compile NS-3 and your scenario in debug mode and it should work.
>
> ---
> Alex
>
>
>> On May 26, 2016, at 10:58 AM, Muhammad Hosain Abdollahi Sabet <mhasabet at gmail.com <mailto:mhasabet at gmail.com>> wrote:
>>
>> Hi All,
>>
>> I have faced a situation in which visualizer shows an exchange (both interest and data), but NS_LOG doesn't show it. Is it a bug or something? Or that exchange is really happening?
>>
>> Thanks,
>> Sabet
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160530/2aedffc4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160530/2aedffc4/attachment.bin>
More information about the ndnSIM
mailing list