Getting debug from mbedtls within AcornSSL
Dave Higton (1515) 3526 posts |
Can anyone tell me how to get debug output from the mbedtls code within AcornSSL? I can get debug from the AcornSSL layer (by just building with !MkDebug), but I can’t see any debug from within mbedtls. I managed to build the mbedtls code with debug (I’d love to be able to remember the symbol I defined within the Makefile!) but just doing that plus !MkDebug still doesn’t cause debug output. There must me something more I have to do. I don’t want to change mbedtls, I just want to trace my calls into it to see what I’m doing wrong. |
Jeffrey Lee (213) 6048 posts |
I haven’t done a build to check, but mbdedtls_ssl_conf_dbg should do it. |
Dave Higton (1515) 3526 posts |
Thanks, Jeffrey. There are lots of debug statements all through the mbedtls library code, and I’ve often wondered why none of them appears. I still don’t know. But I had missed a call to an important function, after which I did have one debug message come out. Oh well. |