Index: src/debug/debug.cc |
diff --git a/src/debug/debug.cc b/src/debug/debug.cc |
index 67ca2410da43fd5c342974bcf3f3137ed24d9e07..b255bb81a1dd80db2b46599382491d05d74a2b99 100644 |
--- a/src/debug/debug.cc |
+++ b/src/debug/debug.cc |
@@ -200,7 +200,6 @@ void BreakLocation::BytecodeArrayIterator::Next() { |
} |
DCHECK(position_ >= 0); |
DCHECK(statement_position_ >= 0); |
- break_index_++; |
enum DebugBreakType type = GetDebugBreakType(); |
if (type == NOT_DEBUG_BREAK) continue; |
@@ -215,6 +214,7 @@ void BreakLocation::BytecodeArrayIterator::Next() { |
break; |
} |
} |
+ break_index_++; |
} |
BreakLocation::DebugBreakType |