Caveats when using interrupts and breakpoints?

Well, an inconsistent build might fool the debugger and can cause strange effects as @RAc mentioned. You SEEM to set a breakpoint at a certain source line but in fact it’s not exactly there and is not hit as expected. A leaky build system is a nightmare and I’ve often seen people always do full rebuilds because they didn’t or couldn’t trust the build system.