Skip to content

Commit

Permalink
modifed get_sequence_points to skip over hidden (aka so called FeeFee…
Browse files Browse the repository at this point in the history
…) sequence points
  • Loading branch information
Harry Pierson committed Mar 13, 2009
1 parent 117cdce commit 49edbe5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ipydbg.py
Expand Up @@ -43,8 +43,9 @@ def get_sequence_points(method):
spEndLines, spEndCol)

for i in range(sp_count):
yield sequence_point(spOffsets[i], spDocs[i], spStartLines[i],
spStartCol[i], spEndLines[i], spEndCol[i])
if spStartLines[i] != 0xfeefee:
yield sequence_point(spOffsets[i], spDocs[i], spStartLines[i],
spStartCol[i], spEndLines[i], spEndCol[i])


#--------------------------------------------
Expand Down Expand Up @@ -209,8 +210,7 @@ def _get_location(self, frame):
for sp in get_sequence_points(method):
if sp.offset > offset:
break
if sp.start_line != 0xfeefee:
real_sp = sp
real_sp = sp

if real_sp == None:
return offset, None
Expand Down

0 comments on commit 49edbe5

Please sign in to comment.