MATLAB: Breakpoints unpredictable in R2011a

32-bitbreakpointsbugMATLABmatlab_bugr2011avistawindows

Since upgrading to R2011a, breakpoints in my code are unpredictable. Sometimes they work, and sometimes they don't. My code worked fine with breakpoints in R2010b. I don't have any "clear all" statements, and the breakpoints are still visible as red dots in my code. The code I'm using is on the MATLAB path, and there is only one copy.
Anyone else having difficulty with breakpoints in this latest release? Even better, anyone know how to fix it?

Best Answer

The official word I got from The Mathworks is that it is fixed in R2011b, but no workaround for R2011a.
Related Question