Y
Hacker News
new
|
ask
|
show
|
jobs
by
dons
4768 days ago
Lazy languages don't have equivalent call stacks as strict languages. However, GHC lets you get a stack trace via profiling. E.g. +RTS -xc flag gives a stack trace.
1 comments
enigmo
4768 days ago
The actual evaluation stack (re: GHC w/ DWARF symbols) is also quite useful for debugging and doesn't need a profiled executable to work.
link