Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
96ca360
)
ide, debugger; fixed breakpoints issues when using run to cursor together with breakp...
author
Rejean Loyer
<rejean.loyer@gmail.com>
Thu, 23 May 2013 03:12:53 +0000
(23:12 -0400)
committer
Rejean Loyer
<rejean.loyer@gmail.com>
Mon, 27 May 2013 17:15:22 +0000
(13:15 -0400)
ide/src/debugger/Debugger.ec
patch
|
blob
|
history
diff --git
a/ide/src/debugger/Debugger.ec
b/ide/src/debugger/Debugger.ec
index
dfb1124
..
0e9e984
100644
(file)
--- a/
ide/src/debugger/Debugger.ec
+++ b/
ide/src/debugger/Debugger.ec
@@
-2708,13
+2708,6
@@
class Debugger
GoToStackFrameLine(activeFrameLevel, true);
ideMainFrame.Activate(); // TOFIX: ide.Activate() is not reliable (app inactive)
ide.Update(null);
GoToStackFrameLine(activeFrameLevel, true);
ideMainFrame.Activate(); // TOFIX: ide.Activate() is not reliable (app inactive)
ide.Update(null);
- if(bp.type == BreakpointType::runToCursor)
- {
- if(symbols)
- GdbCommand(false, "-break-delete %d", bp.bp.number);
- delete bpRunToCursor;
- bpRunToCursor = null;
- }
}
else
{
}
else
{
@@
-2730,6
+2723,13
@@
class Debugger
}
else
ide.outputView.debugBox.Logf("Debugger Error: Breakpoint hit could not match breakpoint instance\n");
}
else
ide.outputView.debugBox.Logf("Debugger Error: Breakpoint hit could not match breakpoint instance\n");
+
+ if(bpRunToCursor)
+ {
+ if(symbols && bpRunToCursor.inserted)
+ GdbCommand(false, "-break-delete %d", bpRunToCursor.bp.number);
+ delete bpRunToCursor;
+ }
}
void GdbThreadExit()
}
void GdbThreadExit()