News for hackers. Stuff that matters.
Re:Very funny, gdb. Ve-ery funny by pilooch on Saturday January 11, 2014 @12:23PM (#7043062)
don't know how others do but I find I have to recompile a program without optimization flags in order to be able to fully debug a live C++ program. Understandable but annoying.
Re:Very funny, gdb. Ve-ery funny by pjmlp on Saturday January 11, 2014 @12:34PM (#7043103)
This applies to any language with AOT compilation to native code. There are lots of optimizations that cannot be properly mapped back to the original source code.

In most languages compilers are allowed to do whatever they want as long as the semantic outcome stays the same.