[Haskell-cafe] Decorating exceptions with backtrace information

Henning Thielemann lemming at henning-thielemann.de
Fri May 8 17:52:13 UTC 2020


On Fri, 8 May 2020, Niklas Hambüchen wrote:

> On 5/8/20 7:32 PM, Henning Thielemann wrote:
>
>> Can someone please give me examples where current state lacks
>
> * Currently stack traces are not printed, so users cannot forward them 
> to the developer, even if both the users and the developers would like 
> that.

We are talking about the HasCallStack stack traces, yes?
How is their emission addressed by extending exceptions with stack traces?

> * Developers cannot easily produce stack traces do debug unintended 
> exceptions.

What are "unintended exceptions"?
What is an example of an "unintended exception"?


More information about the ghc-devs mailing list