Hey Ben, Hey Artem, Hey all,
Thanks for bringing this up! I'll add some documentation to the user's guide and will likely write a blog post covering the "material" from notes in a more approachable way.
Two details to note regarding the IPE based backtrace mechanism:
- It's based on return frames on the STG stack. So, it doesn't work for trivial programs. A return frame is produced when the scrutinee of a case expression is evaluated.
The test [1] shows a working example.
- To get backtraces containing references in libraries, those have to be compiled with `-finfo-table-map`, too.
Now that I've got the attention of many GHC-Devs: A big Thank-You! goes to Ben and Matthew that were always reachable and always very helpful during the whole development process of this feature!
Best regards,
Sven