Re: null source-properties for procedure-source retrieved from frame

2007-01-25 Thread Andy Wingo
Hi Julian, On Thu, 2007-01-25 at 10:28 -0500, Julian Graham wrote: > After all, the reason I was interested in the first place was that > I'm trying to implement call graph analysis for statprof -- with > output in callgrind format, which happens to require position > information. In this case

Re: null source-properties for procedure-source retrieved from frame

2007-01-25 Thread Julian Graham
Hi Andy, Well, sure, I'd settle for the beginning of the procedure body, if that were possible. After all, the reason I was interested in the first place was that I'm trying to implement call graph analysis for statprof -- with output in callgrind format, which happens to require position infor

Re: null source-properties for procedure-source retrieved from frame

2007-01-25 Thread Andy Wingo
Hi Julian, On Wed, 2007-01-24 at 14:21 -0500, Julian Graham wrote: > Is > there some other way I can, for example, find out the line number on > which a procedure was defined? I was wondering this myself about a week ago! A couple of hours of poking through eval.c and debug.c didn't get me anywhe

null source-properties for procedure-source retrieved from frame

2007-01-24 Thread Julian Graham
Hi Guilers, I've noticed that I can't seem to get anything but null when I call (source-properties (procedure-source (frame-procedure frame))), where frame is some stack frame I'm working with using the debugging interface. I get plenty of info with (source-properties (frame-source frame)). Wha