dmd profiling corrupted names in trace.log?

Imperatorn johan_forsberg_86 at hotmail.com
Sat Oct 16 09:26:57 UTC 2021


On Saturday, 16 October 2021 at 07:20:47 UTC, Chris Katko wrote:
> On Friday, 15 October 2021 at 10:08:21 UTC, Stefan Koch wrote:
>> On Friday, 15 October 2021 at 09:51:39 UTC, Chris Katko wrote:
>>> Any idea (bug?) why dmd's profiling file trace.log dumps 
>>> bunches of unreadable binary characters instead of function 
>>> names?
>>>
>>> [...]
>>
>> have you removed the previous trace.log in the folder you 
>> executed the binary in?
>
> You have GOT to be kidding me! I'm supposed to know to delete 
> the log file every time I run the program (or is it "change" 
> the program?) even though there's zero mention of that in the 
> man page for dmd? There's no mention that the logs are additive!
>
> https://dlang.org/dmd-windows.html
>
> Is profile=gc additive? Who knows! Certainly not the 
> documentation.

Bro, he just asked a question 😅


More information about the Digitalmars-d mailing list