You need to build a debug build with -DDEBUG. Disabling optimization is a different thing.
The default build with build.sh or make nss_build_all should be fine. On Sat, 5 Jan. 2019, 11:40 John Jiang <john.sha.ji...@gmail.com 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 <k...@kuix.de> 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 > dev-tech-crypto@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-tech-crypto > -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto