LeakCheck library now supports DUnitX and stack traces:

LeakCheck library now supports DUnitX and stack traces:

Some time ago I posted about my LeakCheck library. Recently I've made some progress. Main new features include DUnitX support and allocation stack traces.

DUnitX support features object graph scanning and all DUnit supported features. My implementation does not suffer from the Status bug that made the DUnitX developers disable default FastMM monitor. I also added DUnitX pull request that if accepted will instantly allow enhanced leak reporting (all LeakCheck changes are forward compatible and already pushed).

Stack tracing generates fully formatted stack traces with symbols and line numbers and already offers several implementations (including Android one). If enabled test results get instant callstack preview.

Another feature I did not mention here before is ability to use Extended RTTI and create complex allocation graphs even in non-NextGen allowing you to visualize complete object structure of your application. The scanner is independent of the LeakChecker and may be used (with a visitor-like pattern) to operate on any object structure to perform any tasks in a generic way. Also several features like smarter leak ignores and object graph ignores can now be achieved.
https://bitbucket.org/shadow_cs/delphi-leakcheck/

Comments

Post a Comment