Debugging

Graham St Jack Graham.StJack at internode.on.net
Tue Jul 13 14:38:09 PDT 2010


On Tue, 13 Jul 2010 03:55:08 -0400, bearophile wrote:

> Graham St Jack:
>> How do I profile a D2 program? When I try -profile in dmd, the
>> resultant executable crashes with a segfault when I try to run it.
> 
> Are you able to produce a small test case of this bug?
> 
> Bye,
> bearophile

Small test cases don't crash. I will spend a bit of time experimenting 
with my way-too-big test case to find out why it crashes when run after 
being compiled with -profile, and post my results here.

One thing I noticed was that the trace.log file doesn't demangle the 
names properly either.


More information about the Digitalmars-d mailing list