Compile and runtime problem detection