Index: src/debug/debug.cc |
diff --git a/src/debug/debug.cc b/src/debug/debug.cc |
index ef170e59c7f7bc93c8fd3c6a2bcfea4bc0d5dee9..a15743dcd6e303dd1a0c67c31b371eccd4981b6f 100644 |
--- a/src/debug/debug.cc |
+++ b/src/debug/debug.cc |
@@ -2340,7 +2340,7 @@ void Debug::PrintBreakLocation() { |
int column = Script::GetColumnNumber(script, source_position); |
Handle<FixedArray> line_ends(FixedArray::cast(script->line_ends())); |
int line_start = |
- line == 0 ? 0 : Smi::cast(line_ends->get(line - 1))->value(); |
+ line == 0 ? 0 : Smi::cast(line_ends->get(line - 1))->value() + 1; |
int line_end = Smi::cast(line_ends->get(line))->value(); |
DisallowHeapAllocation no_gc; |
String::FlatContent content = source->GetFlatContent(); |