Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Side by Side Diff: runtime/vm/dart_entry.cc

Issue 2521413002: Revert "Implement rewind: drop one or more frames from the debugger." (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/vm/code_generator.cc ('k') | runtime/vm/debugger.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/dart_entry.h" 5 #include "vm/dart_entry.h"
6 6
7 #include "vm/class_finalizer.h" 7 #include "vm/class_finalizer.h"
8 #include "vm/code_generator.h" 8 #include "vm/code_generator.h"
9 #include "vm/compiler.h" 9 #include "vm/compiler.h"
10 #include "vm/debugger.h" 10 #include "vm/debugger.h"
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 ASSERT(!function.IsNull()); 544 ASSERT(!function.IsNull());
545 isolate->object_store()->set_handle_message_function(function); 545 isolate->object_store()->set_handle_message_function(function);
546 } 546 }
547 const Array& args = Array::Handle(zone, Array::New(kNumArguments)); 547 const Array& args = Array::Handle(zone, Array::New(kNumArguments));
548 args.SetAt(0, handler); 548 args.SetAt(0, handler);
549 args.SetAt(1, message); 549 args.SetAt(1, message);
550 if (FLAG_support_debugger && isolate->debugger()->IsStepping()) { 550 if (FLAG_support_debugger && isolate->debugger()->IsStepping()) {
551 // If the isolate is being debugged and the debugger was stepping 551 // If the isolate is being debugged and the debugger was stepping
552 // through code, enable single stepping so debugger will stop 552 // through code, enable single stepping so debugger will stop
553 // at the first location the user is interested in. 553 // at the first location the user is interested in.
554 isolate->debugger()->SetResumeAction(Debugger::kStepInto); 554 isolate->debugger()->SetSingleStep();
555 } 555 }
556 const Object& result = 556 const Object& result =
557 Object::Handle(zone, DartEntry::InvokeFunction(function, args)); 557 Object::Handle(zone, DartEntry::InvokeFunction(function, args));
558 ASSERT(result.IsNull() || result.IsError()); 558 ASSERT(result.IsNull() || result.IsError());
559 return result.raw(); 559 return result.raw();
560 } 560 }
561 561
562 562
563 RawObject* DartLibraryCalls::DrainMicrotaskQueue() { 563 RawObject* DartLibraryCalls::DrainMicrotaskQueue() {
564 Zone* zone = Thread::Current()->zone(); 564 Zone* zone = Thread::Current()->zone();
(...skipping 21 matching lines...) Expand all
586 const Array& args = Array::Handle(Array::New(kNumArguments)); 586 const Array& args = Array::Handle(Array::New(kNumArguments));
587 args.SetAt(0, map); 587 args.SetAt(0, map);
588 args.SetAt(1, key); 588 args.SetAt(1, key);
589 args.SetAt(2, value); 589 args.SetAt(2, value);
590 const Object& result = 590 const Object& result =
591 Object::Handle(DartEntry::InvokeFunction(function, args)); 591 Object::Handle(DartEntry::InvokeFunction(function, args));
592 return result.raw(); 592 return result.raw();
593 } 593 }
594 594
595 } // namespace dart 595 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/code_generator.cc ('k') | runtime/vm/debugger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698