valgrind

Druzhinin Alexandr news at digitalmars.com
Sun Mar 10 04:58:39 PDT 2013


On 10.03.2013 18:11, simendsjo wrote:
> On Sunday, 10 March 2013 at 11:06:41 UTC, simendsjo wrote:
>> I haven't used valgrind/cachegrind on C/C++ programs before, but I'm
>> pretty sure it doesn't behave as expected on D code. I found this page
>> to fix the mangling issue: http://wiki.dlang.org/Other_Dev_Tools, but
>> all callgraphs is empty.
>
> Ah, nevermind. Just found "callgrind"..
Why are you pretty sure? The difference is garbage collector only that 
scans memory and causes wrong read from valgrind POV and mangling makes 
work with it harder a little bit. But profiling, heap usage and memory 
leaks are the same I'm sure . I use it recently but I found one bug and 
it was simple and clear - I mean bug finding.


More information about the Digitalmars-d-learn mailing list