Y
Hacker News
new
|
ask
|
show
|
jobs
by
emilv
4770 days ago
"can be interesting to debug" sounds scary :-)
1 comments
dons
4770 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.
link
enigmo
4770 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