Debugging in Kawa

Per Bothner per@bothner.com
Fri Jun 6 21:29:00 GMT 2003


Bruce Lewis wrote:

> Per Bothner <per@bothner.com> writes:
> 
>>I'm not sure if the appended patch will help, but there's
>>a good chance it will.  The problem was that inlining
>>optimizations were losing line number information; this
>>patch restores it, in at least some cases.
> 
> Ooh!  That's a very exciting patch!  Is there any chance it will go into
> 1.7?

Yes.  I also added a catch-all to compileBody in LambdaExp, so if
the body expression of the lambda doesn't have a line number, use
that of lambda itself.  Plus I made sure that more ApplyExps created
in Invoke get fixed.

Could you try the current CVS tree (or use the new
files which I should have in 20 minutes or so) and try it out?
I gather you've been missing line number information.  Could
you see if the latest version improves the situation?



-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/




More information about the Kawa mailing list