If the "Skip All Breakpoints" option is active, breakpoints are now

correctly skipped.
This commit is contained in:
peterdell 2019-08-31 00:32:42 +02:00
parent 25d24ed249
commit 30ef1fe2a8

View File

@ -436,7 +436,12 @@ final class AssemblerEditorCompileCommand {
}
File breakpointsFile = runner.createBreakpointsFile(files);
IBreakpointManager breakpointManager = DebugPlugin.getDefault().getBreakpointManager();
IBreakpoint breakpoints[] = breakpointManager.getBreakpoints(AssemblerBreakpoint.DEBUG_MODEL_ID);
IBreakpoint breakpoints[];
if (breakpointManager.isEnabled()) {
breakpoints = breakpointManager.getBreakpoints(AssemblerBreakpoint.DEBUG_MODEL_ID);
} else {
breakpoints = new IBreakpoint[0];
}
if (breakpointsFile == null) {
if (breakpoints.length > 0) {
// WARNING: Breakpoints will be ignored because the application