[Issue 9788] New: -profile doesn't work if exceptions are thrown in the running program
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Mar 22 15:36:51 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9788
Summary: -profile doesn't work if exceptions are thrown in the
running program
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: bugzilla at digitalmars.com
--- Comment #0 from Walter Bright <bugzilla at digitalmars.com> 2013-03-22 15:36:50 PDT ---
It relies on trace_epi() calls always happening after the corresponding
trace_pro() call. If an exception is thrown, the trace_epi() calls won't happen
for the unwound functions.
One possible solution is to put trace_epi() calls in a finally block.
--
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