Chromium Code Reviews| Index: runtime/vm/debugger.cc |
| =================================================================== |
| --- runtime/vm/debugger.cc (revision 23094) |
| +++ runtime/vm/debugger.cc (working copy) |
| @@ -1242,6 +1242,11 @@ |
| script_url.ToCString(), line_number); |
| } |
| return NULL; |
| + } else if (last_token_idx < 0) { |
| + // Line does not contain any tokens. first_toekn_index is the first |
|
regis
2013/05/24 16:07:32
first_token_index
hausner
2013/05/24 16:23:43
Done.
|
| + // token after the given line. We check whether that token is |
| + // part of a function. |
| + last_token_idx = first_token_idx; |
| } |
| Function& func = Function::Handle(isolate_); |