Dear researchers
will u please tell me about how do u work with ur debugging? i've installed
ddd and with ns.exe it doesnt work but with nstk.exe yes. but then when i
try to run a my tcl code which is connected to a c++ code , it seems it
doesnt know header of c++ and in first line of my c++ code it say that it
doent know '<' (beginning of <include>).
i've added "-g" in makefile.:
CFLAGS += -g $(CCOPT) $(DEFINE)
but not other things. cuz it doesnt let me to have complete install. it
gives an error of stubptr in otcl building.
anyway nstk.exe works. now how should i debug. would u give me a simple
guidance of how to make a breakpoint in my c++ code. what should i do now ?
will u help me plz?
thx u in advance.
Micheal Murray-2 wrote:
>
>
> Hi all,
>
> I have had previous success in debugging ns2 tcl scripts through otcl and
> C++ debugging,
> using a combination of ddd, MashInspector in nstk environment, and the tcl
> debugger.
>
> However I have recently found trouble trying to debug with ddd. When I
> open
> the ns.exe
> program I am given the 'no debugging symbols found' reply. However when I
> open the
> nstk.exe program I can proceed just fine.
>
> The otcl side of debugging is working just fine also.
> Is there a straightforward explanation for this?
> Has anyone else encountered this?
>
> I have taken the following steps to enable debugging support:
> > added "-g" in makefile.in such that
> CFLAGS += -g $(CCOPT) $(DEFINE)
> > added "--enable-symbols" to tcl's configure command in
> ns-allinone/install
> > added "--enable-debug" to tclcl's configure in same file
> > configured ns-2 with "--enable-debug" flag as well as
> "--with-tcldebug"
>
> I have also noticed that gdb doesn't like the guard32.dll belonging to
> Comodo's Firewall (v3).
> There has been a bug report made on this in the Comodo forum. The only way
> around it at
> the minute appears to be disabling guard32.dll.
>
> Thanks for your time,
> Micheal
>
>
--
View this message in context:
http://www.nabble.com/ns.exe-versus-nstk.exe---debugging-tp18890095p20416045.html
Sent from the ns-users mailing list archive at Nabble.com.