In case this helps someone, it turned out that my (somewhat embarrassing) problem was that I pressed Run instead of Debug . Therefore, in the Run menu, do not use the play icon, instead select a nice error icon. Choosing Run led to the automatic build of a non-debug build, so breakpoints didn't work. As soon as I started choosing the error icon, the breakpoints worked like a charm.
source share