summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/scope.c b/scope.c
index c32351c..ef89b53 100644
--- a/scope.c
+++ b/scope.c
@@ -385,13 +385,16 @@ TestBreakPoints (
for (bp = breakPoints; bp; bp = bp->next)
{
- if (bp->request == buf[0])
+ if (bp->enabled)
{
- if (bp->request < EXTENSION_MIN_REQ) /* Core protocol, not extension */
- break;
- else if ((bp->minorop == -1) || (bp->minorop == buf[1]))
- /* extension, either matching minor opcode or all minor opcodes */
- break;
+ if (bp->request == buf[0])
+ {
+ if (bp->request < EXTENSION_MIN_REQ) /* Core protocol, not extension */
+ break;
+ else if ((bp->minorop == -1) || (bp->minorop == buf[1]))
+ /* extension, either matching minor opcode or all minor opcodes */
+ break;
+ }
}
}
if (bp)