Closed
Bug 1063321
Opened 10 years ago
Closed 10 years ago
Print to the console the paths of all files that DMD opens
Categories
(Core :: DMD, defect)
Core
DMD
Tracking
()
RESOLVED
FIXED
mozilla35
People
(Reporter: n.nethercote, Assigned: n.nethercote)
Details
Attachments
(1 file)
2.49 KB,
patch
|
mccr8
:
review+
|
Details | Diff | Splinter Review |
Bug 1061066 changed DMD so it dumps output to the temp directory. On Linux that's /tmp, but on Mac it's $HOME/Library/Caches/TemporaryItems, which is so non-obvious that I had to add a debugging printf to the code to learn where it was. Let's fix that.
Assignee | ||
Comment 1•10 years ago
|
||
This patch adds an extra line to the console output when a DMD file is opened,
viz:
> DMD[22021] opened /tmp/dmd-1409885041-22021.txt.gz for writing
> DMD[22021] AnalyzeReports 1 {
> DMD[22021] gathering heap block records...
> DMD[22021] creating and sorting twice-reported heap block record array...
> DMD[22021] creating and sorting unreported heap block record array...
> DMD[22021] printing unreported heap block record array...
> DMD[22021] creating and sorting once-reported heap block record array...
> DMD[22021] printing once-reported heap block record array...
> DMD[22021] }
It's not superb, but it's much better than nothing, and the other options
involved *much* more plumbing.
Attachment #8484728 -
Flags: review?(continuation)
Comment 2•10 years ago
|
||
Comment on attachment 8484728 [details] [diff] [review] Print to the console the paths of all files that DMD opens Review of attachment 8484728 [details] [diff] [review]: ----------------------------------------------------------------- Yeah the OSX temp dir is a pain.
Attachment #8484728 -
Flags: review?(continuation) → review+
Assignee | ||
Comment 3•10 years ago
|
||
Thank you for the fast review. https://hg.mozilla.org/integration/mozilla-inbound/rev/f83374a6c136
Comment 4•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/f83374a6c136
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
You need to log in
before you can comment on or make changes to this bug.
Description
•