12.07.2015 Views

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Example: To enable debugging in Queue object include the following st<strong>at</strong>ement in your tcl script.Queue set debug_ trueDebugging st<strong>at</strong>ments can be i<strong>ns</strong>erted in the classes inheriting from Queue as follows:debug("This is a debug st<strong>at</strong>ement %d",variable_to_debug);All debugging st<strong>at</strong>ements are sent to stdout.• Error messages which cause the program to exit should be sent to stderr. All other messages should be sent to stdout248

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!