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

Side by Side Diff: runtime/vm/debugger.h

Issue 1344993002: Refactor isolate interrupts to use OOB messages instead of interrupt bits. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: code review 2 Created 5 years, 2 months 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/dart_api_impl.cc ('k') | runtime/vm/debugger.cc » ('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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 #ifndef VM_DEBUGGER_H_ 5 #ifndef VM_DEBUGGER_H_
6 #define VM_DEBUGGER_H_ 6 #define VM_DEBUGGER_H_
7 7
8 #include "include/dart_tools_api.h" 8 #include "include/dart_tools_api.h"
9 9
10 #include "vm/object.h" 10 #include "vm/object.h"
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 549
550 // Utility functions. 550 // Utility functions.
551 static const char* QualifiedFunctionName(const Function& func); 551 static const char* QualifiedFunctionName(const Function& func);
552 552
553 RawObject* GetInstanceField(const Class& cls, 553 RawObject* GetInstanceField(const Class& cls,
554 const String& field_name, 554 const String& field_name,
555 const Instance& object); 555 const Instance& object);
556 RawObject* GetStaticField(const Class& cls, 556 RawObject* GetStaticField(const Class& cls,
557 const String& field_name); 557 const String& field_name);
558 558
559 void SignalBpReached(); 559 RawError* SignalBpReached();
560 void DebuggerStepCallback(); 560 RawError* DebuggerStepCallback();
561 RawError* SignalIsolateInterrupted();
561 562
562 void BreakHere(const String& msg); 563 void BreakHere(const String& msg);
563 564
564 void SignalExceptionThrown(const Instance& exc); 565 void SignalExceptionThrown(const Instance& exc);
565 void SignalIsolateEvent(DebuggerEvent::EventType type); 566 void SignalIsolateEvent(DebuggerEvent::EventType type);
566 static void SignalIsolateInterrupted();
567 567
568 RawCode* GetPatchedStubAddress(uword breakpoint_address); 568 RawCode* GetPatchedStubAddress(uword breakpoint_address);
569 569
570 void PrintBreakpointsToJSONArray(JSONArray* jsarr) const; 570 void PrintBreakpointsToJSONArray(JSONArray* jsarr) const;
571 void PrintSettingsToJSONObject(JSONObject* jsobj) const; 571 void PrintSettingsToJSONObject(JSONObject* jsobj) const;
572 572
573 static bool IsDebuggable(const Function& func); 573 static bool IsDebuggable(const Function& func);
574 574
575 intptr_t limitBreakpointId() { return next_id_; } 575 intptr_t limitBreakpointId() { return next_id_; }
576 576
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 692
693 friend class Isolate; 693 friend class Isolate;
694 friend class BreakpointLocation; 694 friend class BreakpointLocation;
695 DISALLOW_COPY_AND_ASSIGN(Debugger); 695 DISALLOW_COPY_AND_ASSIGN(Debugger);
696 }; 696 };
697 697
698 698
699 } // namespace dart 699 } // namespace dart
700 700
701 #endif // VM_DEBUGGER_H_ 701 #endif // VM_DEBUGGER_H_
OLDNEW
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698