small fix in Debugger.add_bp

This commit is contained in:
Clement Rouault
2016-04-11 19:15:39 +02:00
parent e781e3493f
commit 3454801ad0
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -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
+2 -2
View File
@@ -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: