Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
384ad75
)
ide/Debugger: Fix for avoiding confusion between internal breakpoint in main and...
author
Jerome St-Louis
<jerome@ecere.com>
Tue, 10 Jul 2012 22:28:32 +0000
(18:28 -0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Tue, 10 Jul 2012 22:28:32 +0000
(18:28 -0400)
ide/src/debugger/Debugger.ec
patch
|
blob
|
history
diff --git
a/ide/src/debugger/Debugger.ec
b/ide/src/debugger/Debugger.ec
index
c7f9692
..
e3bcd7d
100644
(file)
--- a/
ide/src/debugger/Debugger.ec
+++ b/
ide/src/debugger/Debugger.ec
@@
-464,6
+464,16
@@
class Debugger
break;
}
}
+ if(bp && bp.type != user && stopItem && stopItem.frame)
+ {
+ // In case the user put a breakpoint where an internal breakpoint is, avoid the confusion...
+ for(i : ide.workspace.breakpoints)
+ {
+ if(i.bp && i.line == stopItem.frame.line && !fstrcmp(i.absoluteFilePath, stopItem.frame.absoluteFile))
+ bp = i;
+ break;
+ }
+ }
bpHit = bp;
if(!(!userBreakOnInternBreak &&