[Issue 4708] New: expose rt.trace and rt.cover api's

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Aug 22 00:27:26 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4708

           Summary: expose rt.trace and rt.cover api's
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: druntime
        AssignedTo: sean at invisibleduck.org
        ReportedBy: braddr at puremagic.com


--- Comment #0 from Brad Roberts <braddr at puremagic.com> 2010-08-22 00:27:21 PDT ---
The dmd test suite has a few tests that run -profile and -cov.  Right now,
those all output to the same filename with no non-hacky way of getting to those
apis.

They're extern(C)'ed, so they can be forced with repeating the extern
declaration where needed, but that's awfully ugly.

Food for thought.. could the defaults be better?  What's the definition of
better?

Right now, both default to the current directory.  Trace defaults to
'trace.log' and 'trace.def'.  Cover defaults to sourcefile.lst, if I read the
code correctly.

Maybe this would be a good place for some env vars to influence the two?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list