BreakPoints UI enhancements - line icons

Breakpoints handling fixes
This commit is contained in:
Jindra Petřík
2015-11-21 23:32:02 +01:00
parent 0dc971b2e1
commit 1884320315
11 changed files with 217 additions and 63 deletions

View File

@@ -426,7 +426,7 @@ public class Main {
}
public synchronized static boolean toggleBreakPoint(String scriptName, int line) {
if (getDebugHandler().isBreakpointToAdd(scriptName, line) || getDebugHandler().isBreakpointConfirmed(scriptName, line)) {
if (getDebugHandler().isBreakpointToAdd(scriptName, line) || getDebugHandler().isBreakpointConfirmed(scriptName, line) || getDebugHandler().isBreakpointInvalid(scriptName, line)) {
getDebugHandler().removeBreakPoint(scriptName, line);
return false;
} else {