
15 Oct
2010
15 Oct
'10
1:18 a.m.
On Fri, Oct 15, 2010 at 1:19 AM, Jason Dagit
On Thu, Oct 14, 2010 at 2:52 PM, Evan Laforge
wrote: I don't know of any way to examine this for a running program. You can get GHC to spit out core and STG using -ddump-core and -ddump-stg flags:
There's no -ddump-core flag. I was puzzled about the proper way to get "final" core, and have been using -ddump-simpl, but I don't know if that's correct.
Indeed, I meant -ddump-simpl. That's why I tried to link to the GHC manual, I make typos and it has extra info and enumerates the flags available :) Just search that page for -ddump. Sorry about the confusing typo, Jason
Thanks, will look into the debugging dump flags. I should have done this before asking :) -- Mihai