[Newcompiler] What compiler is used when debugger needs line
information
Stéphane Ducasse
stephane.ducasse at univ-savoie.fr
Tue May 29 19:44:06 UTC 2007
Hi klaus
I think that you should give to marcus more context since I'm curious
to see
whether the question I asked could be solved (even with nice meta
information for the debugger).
Could you sum it up?
Stef
On 29 mai 07, at 14:06, Klaus D. Witzel wrote:
> List,
>
> in an offline email thread (with Stef, Roel, Damien and Math) about
> optimizations which could be done by Smalltalk compiler, we
> mentioned the
> debugger needs information which is not in the bytecodes of a method.
>
> Imagine a method X was compiled with the new compiler and then the
> preference is reset for using the old compiler. Now when X is
> debugged,
> the debugger compiles X's source code for obtaining source code
> positions
> (line information).
>
> It is quite possible this information no longer matches the method
> (both
> compilers can produce quite different bytecodes).
>
> How's that handled now?
>
> Cheers
> Klaus
More information about the Newcompiler
mailing list