mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
check getMIBreakPoint().isAccessWatchpoint()
This commit is contained in:
parent
b6174a0c43
commit
5db6ae9f85
1 changed files with 2 additions and 2 deletions
|
@ -34,14 +34,14 @@ public class Watchpoint extends Breakpoint implements ICDIWatchpoint {
|
|||
* @see org.eclipse.cdt.debug.core.cdi.ICDIWatchpoint#isReadType()
|
||||
*/
|
||||
public boolean isReadType() {
|
||||
return getMIBreakPoint().isReadWatchpoint();
|
||||
return getMIBreakPoint().isReadWatchpoint() || getMIBreakPoint().isAccessWatchpoint();
|
||||
}
|
||||
|
||||
/**
|
||||
* @see org.eclipse.cdt.debug.core.cdi.ICDIWatchpoint#isWriteType()
|
||||
*/
|
||||
public boolean isWriteType() {
|
||||
return getMIBreakPoint().isAccessWatchpoint();
|
||||
return getMIBreakPoint().isAccessWatchpoint() || getMIBreakPoint().isWriteWatchpoint();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue