[Newcompiler] What compiler is used when debugger needs line
information
Klaus D. Witzel
klaus.witzel at cobss.ch
Tue May 29 12:06:56 UTC 2007
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