Skip to content
This repository
Browse code

fixed small bug in create_breakpoint

  • Loading branch information...
commit b40b91e7b3ca87f018593262e212e905e7dfabd8 1 parent 0de57ed
authored March 28, 2009

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  ipydbg.py
2  ipydbg.py
@@ -68,7 +68,7 @@ def create_breakpoint(module, filename, linenum):
68 68
     for doc in reader.GetDocuments():
69 69
       if str.Compare(filename, Path.GetFileName(doc.URL), True) == 0:
70 70
         linenum = doc.FindClosestLine(linenum)
71  
-        method = module.SymbolReader.GetMethodFromDocumentPosition(doc, linenum, 0)
  71
+        method = reader.GetMethodFromDocumentPosition(doc, linenum, 0)
72 72
         function = module.GetFunctionFromToken(method.Token.GetToken())
73 73
         
74 74
         for sp in get_sequence_points(method):

0 notes on commit b40b91e

Please sign in to comment.
Something went wrong with that request. Please try again.