www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 9788] New: -profile doesn't work if exceptions are thrown in the running program

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: bugzilla digitalmars.com


--- Comment #0 from Walter Bright <bugzilla 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: -------
Mar 22 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9788



--- Comment #1 from Walter Bright <bugzilla digitalmars.com> 2013-03-28
00:36:18 PDT ---
https://github.com/D-Programming-Language/dmd/pull/1806

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 28 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9788



--- Comment #2 from github-bugzilla puremagic.com 2013-03-31 11:08:53 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/a1dd1ab5140fee5dbed2e18a1a952cd2d42699c7
fix Issue 9788 - -profile doesn't work if exceptions are thrown in the running
program

https://github.com/D-Programming-Language/dmd/commit/cfb5842b496cbfca4b571b37be1d546498611c1e
Merge pull request #1806 from WalterBright/fix9788

fix Issue 9788 - -profile doesn't work if exceptions are thrown in the r...

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 31 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9788



--- Comment #3 from github-bugzilla puremagic.com 2013-03-31 11:38:39 PDT ---
Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/db81d201159ba4a44c286173db871473d6402991
Merge pull request #1806 from WalterBright/fix9788

fix Issue 9788 - -profile doesn't work if exceptions are thrown in the r...

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 31 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9788


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
            Version|D2                          |D1 & D2
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 31 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9788


hsteoh quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsteoh quickfur.ath.cx


--- Comment #4 from hsteoh quickfur.ath.cx 2013-08-30 14:08:29 PDT ---
Commit a1dd1ab5140fee introduced issue #10617

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