mirror of
https://github.com/peterdell/wudsn-ide.git
synced 2024-12-30 15:32:03 +00:00
If the "Skip All Breakpoints" option is active, breakpoints are now
correctly skipped.
This commit is contained in:
parent
25d24ed249
commit
30ef1fe2a8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user