Big Sur or Catalina?
Post
Replies
Boosts
Views
Activity
Hi, did you resolved this?
XCode contains command line tool called leaks.
Use it as follows:
compile your_program_to_check with debug information:
clang++ -g src.cpp -o your_program_to_check
export MallocStackLogging=1
leaks --atExit --list -- ./your_program_to_check
Report will hopefully give you lines where leaks occur.
It's 2023 and this bug is still present, hilarious but horrendous.
Seems I need to brush Objective-C++ and integrate some sane solution like spdlogger, would be better.