mirror of
https://github.com/peterdell/wudsn-ide.git
synced 2025-01-17 12:29:48 +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);
|
File breakpointsFile = runner.createBreakpointsFile(files);
|
||||||
IBreakpointManager breakpointManager = DebugPlugin.getDefault().getBreakpointManager();
|
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 (breakpointsFile == null) {
|
||||||
if (breakpoints.length > 0) {
|
if (breakpoints.length > 0) {
|
||||||
// WARNING: Breakpoints will be ignored because the application
|
// WARNING: Breakpoints will be ignored because the application
|
||||||
|
Loading…
x
Reference in New Issue
Block a user