
On Tue, Jul 20, 2004 at 09:29:38AM +0100, Simon Marlow wrote:
On 20 July 2004 01:43, Bernie Pope wrote:
Since you are working on the backend is there any chance that GHC could support symbol names in the heap?
I tried to add this previously and failed miserably.
I would be happy with a flag, such as '-debug-symbols' or somesuch, that keeps source symbol names, at least for data constructors, and possibly functions.
This would be a BIG win for buddha and possibly other debugging tools.
Currently I have to turn on -prof which is a bad hack.
This is a good suggestion, but it's unlikely that we'll have time to add it before the release. I'd like to see us support more debugging information, preferably in a way that can be stripped from a binary.
Good point.
I'm not sure that we want to have yet another "way" to build libraries.
I'm with you on that one.
Debugging is something that should be easy, otherwise the effort is too much and we resort to using Debug.trace (I'm guilty of this - I confess to never having tried any of the available debuggers simply because they're not immediate enough).
True. In the back of my mind I had the notion that C-- would provide some infrastructure for symbol tables and whatnot. Anyway I can see that this is not the kind of thing to jump into too hastily. Cheers, Bernie.