H. William Welliver III wrote:
By "at runtime" I meant when pike code is compiled, not when the interpreter is compiled. Presumably this would be an option configurable at runtime.
That is what I meant too.
I understand your sentiment in terms of aim, but it's important to remember that just about any means of debugging (from printf to a debugger) is going to alter execution timing in some largely unquantifiable way, so tracking down races and timing related problems will still be subject to variation even if the exact same bytecode is used.
True, but nonetheless, being able to debug in "optimised" mode is still a very desirable feature (even if that means that there will be a lot of shortcomings then: missing variables, chaotic single step, breakpoints not possible everywhere).