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

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

Issue 1341473002: Fix a variety of service protocol bugs. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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/lib/isolate_patch.dart ('k') | runtime/vm/json_test.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 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 void SignalIsolateEvent(DebuggerEvent::EventType type); 565 void SignalIsolateEvent(DebuggerEvent::EventType type);
566 static void SignalIsolateInterrupted(); 566 static void SignalIsolateInterrupted();
567 567
568 uword GetPatchedStubAddress(uword breakpoint_address); 568 uword 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_; }
576
575 private: 577 private:
576 enum ResumeAction { 578 enum ResumeAction {
577 kContinue, 579 kContinue,
578 kStepOver, 580 kStepOver,
579 kStepOut, 581 kStepOut,
580 kSingleStep 582 kSingleStep
581 }; 583 };
582 584
583 static bool HasEventHandler(); 585 static bool HasEventHandler();
584 void InvokeEventHandler(DebuggerEvent* event); 586 void InvokeEventHandler(DebuggerEvent* event);
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 692
691 friend class Isolate; 693 friend class Isolate;
692 friend class BreakpointLocation; 694 friend class BreakpointLocation;
693 DISALLOW_COPY_AND_ASSIGN(Debugger); 695 DISALLOW_COPY_AND_ASSIGN(Debugger);
694 }; 696 };
695 697
696 698
697 } // namespace dart 699 } // namespace dart
698 700
699 #endif // VM_DEBUGGER_H_ 701 #endif // VM_DEBUGGER_H_
OLDNEW
« no previous file with comments | « runtime/lib/isolate_patch.dart ('k') | runtime/vm/json_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698