mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 17:26:01 +02:00
check for wpt.
This commit is contained in:
parent
5db6ae9f85
commit
955a91d12e
1 changed files with 7 additions and 1 deletions
|
@ -34,7 +34,13 @@ public class MIBreakInsertInfo extends MIInfo {
|
|||
String var = results[i].getVariable();
|
||||
MIValue val = results[i].getMIValue();
|
||||
MIBreakPoint bpt = null;
|
||||
if (var.equals("bkpt")) {
|
||||
if (var.equals("wpt")) {
|
||||
if (val instanceof MITuple) {
|
||||
bpt = new MIBreakPoint((MITuple)val);
|
||||
bpt.setEnabled(true);
|
||||
bpt.setWriteWatchpoint(true);
|
||||
}
|
||||
} else if (var.equals("bkpt")) {
|
||||
if (val instanceof MITuple) {
|
||||
bpt = new MIBreakPoint((MITuple)val);
|
||||
bpt.setEnabled(true);
|
||||
|
|
Loading…
Add table
Reference in a new issue