Re: Debug info on NSS tools

John Jiang <[email protected]>
Newsgroups gmane.comp.mozilla.crypto
Message-ID <CAJbO6CQD13pVKebbkmm+YjZWGPhTmNmdNQ30jGkizf=nuZEEUA@mail.gmail.com>
On Sun, Jan 6, 2019 at 8:56 PM Martin Thomson <[email protected]> wrote:

> You need to build a debug build with -DDEBUG. Disabling optimization is a
> different thing.
>
What command need option -DDEBUG?


>
> The default build with build.sh or make nss_build_all should be fine.
>
I always use `make nss_build_all` to build NSS.
Does that mean my build should already be a debug build?

Thanks!


>
> On Sat, 5 Jan. 2019, 11:40 John Jiang <[email protected] wrote:
>
> > I had read that page. In fact, SSLDEBUG and SSLTRACE were used in my last
> > try.
> > My NSS was built with "BUILD_OPT=0", so I supposed it is a debug build.
> > How can I double-check this point?
> >
> > Thanks!
> >
> > On Sat, Jan 5, 2019 at 12:34 AM Kai Engert <[email protected]> wrote:
> >
> > > Does this page help?
> > > You might need a debug build (i.e. build yourself with debugging
> > enabled).
> > >
> > > https://wiki.mozilla.org/NSS:Tracing
> > >
> > > Kai
> > >
> > > On 03.01.19 13:51, John Jiang wrote:
> > > > Just tried it, but looked not work.
> > > >
> > > > $ export SSLDEBUG=1
> > > > $ export SSLTRACE=127
> > > > $ tstclnt -v ...
> > > > I didn't get more logs.
> > >
> > --
> > dev-tech-crypto mailing list
> > [email protected]
> > https://lists.mozilla.org/listinfo/dev-tech-crypto
> >
> --
> dev-tech-crypto mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-tech-crypto
>
-- 
dev-tech-crypto mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-crypto
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.