Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

moved breakpoint list code to use get_location

  • Loading branch information...
commit bee0edf17c4da45ba07a69d6b8c52df5e49fee25 1 parent 2a54def
@devhawk authored
Showing with 3 additions and 9 deletions.
  1. +3 −9 ipydbg.py
View
12 ipydbg.py
@@ -418,18 +418,12 @@ def _breakpoint_mgmt(self, keyinfo):
if k.Key == ConsoleKey.L:
print "\nList Breakpoints"
for bp in self.active_appdomain.Breakpoints:
- symmethod = bp.Function.GetSymbolMethod()
- real_sp = None
- for sp in get_sequence_points(symmethod):
- if sp.offset > bp.Offset:
- break
- real_sp = sp
-
- print "%s:%d" % (sp.doc.URL, sp.start_line)
+ sp = get_location(bp.Function, bp.Offset)
+ print " %s:%d" % (sp.doc.URL, sp.start_line)
elif k.Key == ConsoleKey.D:
print "\nDelete Breakpoint Not Implemented"
elif k.Key == ConsoleKey.A:
- print "\nAdd Breakpoint"
+ print "\nAdd Breakpoint Not Implemented"
elif k.Key == ConsoleKey.Q:
print "\nExiting BP Management"
break
Please sign in to comment.
Something went wrong with that request. Please try again.