mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-30 12:25:35 +02:00
2005-02-01 Alain Magloire
Part of Fix for PR 84165 We check in the expression is a number and add a "*" for address watchpoint * cdi/org/eclipse/cdt/debug/mi/core/cdi/BreakpointManager.java
This commit is contained in:
parent
04d743c153
commit
956abd7934
2 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-02-01 Alain Magloire
|
||||
Part of Fix for PR 84165
|
||||
We check in the expression is a number and
|
||||
add a "*" for address watchpoint
|
||||
* cdi/org/eclipse/cdt/debug/mi/core/cdi/BreakpointManager.java
|
||||
|
||||
2005-01-20 Mikhail Khodjaiants
|
||||
Fix for bug 83355: The disable/enable breakpoints durning debugging acts weird.
|
||||
* cdi\org\eclipse\cdt\debug\mi\core\cdi\model\Breakpoint.java
|
||||
|
|
|
@ -698,6 +698,14 @@ public class BreakpointManager extends Manager {
|
|||
boolean read = ( !((watchType & ICDIWatchpoint.WRITE) == ICDIWatchpoint.WRITE) &&
|
||||
(watchType & ICDIWatchpoint.READ) == ICDIWatchpoint.READ );
|
||||
|
||||
try {
|
||||
// Check if this an address watchpoint, and add a '*'
|
||||
Integer.decode(expression);
|
||||
expression = '*' + expression;
|
||||
} catch (NumberFormatException e) {
|
||||
//
|
||||
}
|
||||
|
||||
MISession miSession = target.getMISession();
|
||||
boolean state = suspendInferior(target);
|
||||
CommandFactory factory = miSession.getCommandFactory();
|
||||
|
|
Loading…
Add table
Reference in a new issue