[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] single step through c++ code



You should compile with debug mode. Can use gdb debugger.
$gdb myns
$break dsred.cc:linenumber
$run xxx.tcl
$n //next line
$s //step in
etc.
Giri

>From: Manimaran Selvaraj <[email protected]>
>To: <[email protected]>
>Subject: [ns] single step through c++ code
>Date: Mon, 7 May 2001 12:47:47 -0500 (CDT)
>
>Hi all,
>Is it possible to single step through the c++ code while running a
>tcl script using ns ? For example if i run the diffserv tcl script in
>~/ns/tcl/ex/diffserv like
>
>$ns ds-tb-cbr.tcl
>
>can i single step through the c++ code dsred.cc at the same time. If so
>how do I do it?
>
>Thank you for your time.
>
>-Mani
>
>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com