[Issue 20510] Make backtrace code read the dSYM data

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 2 11:43:43 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=20510

Sönke Ludwig <sludwig at outerproduct.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sludwig at outerproduct.org

--- Comment #5 from Sönke Ludwig <sludwig at outerproduct.org> ---
Just a comment regarding the practicality of the atos approach, which is now
also being adopted by DMD - we've had quite bad experiences with this in most
situations:

- On some development machines, the call stack terminates after two frames,
without any useful information

- In production, it is not possible at all to get useful stack traces from user
installations

- Utmost care must be taken to not throw exceptions frequently, because an atos
run can easily block the thread for 100ms (or rather not to log the associated
stack traces frequently)

All in all, while the earlier situation without line numbers was pretty bad, it
has become almost as bad as it can get in our case.

--


More information about the Digitalmars-d-bugs mailing list