bleg: debugging tools
Feb. 18th, 2007 02:22 pmI would keep 2 versions of the source: the current one, and a previous one (updated at certain "checkpoints", when I am confident it works correctly), and run them in parallel.
I want tools that would help answer the following questions:
* Compared to the checked version, at which point (i.e. line number) in the execution does a variable get a different value? At which point does the program branch differently?
Also:
* provide a way for managing prints in the two programs simultaneously: prints that appear in one should appear in the other.
* you should get the same "random" numbers in both runs. Is there some way to rig java.Math.random()?
Any such tools for Java?
I want tools that would help answer the following questions:
* Compared to the checked version, at which point (i.e. line number) in the execution does a variable get a different value? At which point does the program branch differently?
Also:
* provide a way for managing prints in the two programs simultaneously: prints that appear in one should appear in the other.
* you should get the same "random" numbers in both runs. Is there some way to rig java.Math.random()?
Any such tools for Java?