From 3454801ad0f4162958247e6743c45b3ea15c6903 Mon Sep 17 00:00:00 2001 From: Clement Rouault Date: Mon, 11 Apr 2016 19:15:39 +0200 Subject: [PATCH] small fix in Debugger.add_bp --- TODO | 2 ++ windows/debug.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/TODO b/TODO index ace0b59..200071b 100644 --- a/TODO +++ b/TODO @@ -34,6 +34,8 @@ TODO: - Parse .IDL file for more COM NAME->IID + - Add test for debugger with breakpoint that add another breakpoint on trigger + CHANGELOG: * NEW REGISTRY -> change examples and documentation diff --git a/windows/debug.py b/windows/debug.py index 35da3e4..66b8fc4 100644 --- a/windows/debug.py +++ b/windows/debug.py @@ -130,9 +130,9 @@ class Debugger(object): _setup_method = getattr(self, "_setup_breakpoint_" + bp.type) if target is None: if bp.type == STANDARD_BP: #TODO: better.. - targets = self.processes + targets = self.processes.values() else: - targets = self.threads + targets = self.threads.values() else: targets = [target] for target in targets: