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

Re: [ns] A simple question



to launch gdb :
%> gdb ns

to run your script :
%gdb>run myscript.tcl

>X-Authentication-Warning: mash.CS.Berkeley.EDU: majrdomo set sender to 
[email protected] using -f
>Date: Wed, 14 Jun 2000 13:52:52 -0400 (EDT)
>From: Sencun Zhu <[email protected]>
>To: [email protected]
>Subject: [ns] A simple question
>MIME-Version: 1.0
>
>
>Hi,all, I want to use gdb to debug ns , while ns needs my tcl file , say
>main.tcl, and gdb only take one parameter usually,
>
>so I need to run 
>gdb ns
>%              ( what command should I use to load main.tcl, how can I get
>help from ns environment?)
>
>
>thank you. 

Tarik