I am currently working on a Java compiler. In the context of the compiler, slightly different inputs may produce different results (for example, adding final to Java allows the compiler to perform more optimizations). In some other cases, different inputs can lead to the same result (for example, to cancel some constructions for each cycle).
When debugging how the compiler handles these cases, I usually start the compiler and try to figure out where the execution path of the compiler runs diverges (or converges). Needless to say, this is very tiring.
I am wondering if you have any tips that could help me debug these situations.
In addition, is there any tool that can track two executions of a program and provide you with a difference in execution paths.
java debugging
notnoop Jul 31 '09 at 2:17 2009-07-31 02:17
source share