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

Re: Debug with MSVC++




Well, you comment out the NODEBUG=1 in makefile.win, that's the 
start. Then, you can run the ns.exe file in the Visual Studio, 
setting breakpoint within the ns source tree domain.

If you need debug things in tclcl too, well, similar thing comment
out the NODEUG=1 in tclcl's makefile.win. For otcl, I'm not sure how
to do it "the makefile" way, but of course you can "manually" set the
compile flags to emit debug information for that part too. Doing this
latter, remember you need to relink the ns.exe file to take advantage
of the "new" tclcl.lib (and perhaps otcl.lib) with debug info.

Cheers,

/ChJ 

> Can somebody tell me how to debug NS with Microsoft Visual C ++ ?
> Thanks in advance.
> 
>