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

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

Issue 1497033003: - Remove the legacy debug protocol. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address review comments. Created 5 years 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_test.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 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 intptr_t limitBreakpointId() { return next_id_; } 577 intptr_t limitBreakpointId() { return next_id_; }
578 578
579 private: 579 private:
580 enum ResumeAction { 580 enum ResumeAction {
581 kContinue, 581 kContinue,
582 kStepOver, 582 kStepOver,
583 kStepOut, 583 kStepOut,
584 kSingleStep 584 kSingleStep
585 }; 585 };
586 586
587 static bool HasEventHandler(); 587 static bool HasAnyEventHandler();
588 static bool HasDebugEventHandler();
588 void InvokeEventHandler(DebuggerEvent* event); 589 void InvokeEventHandler(DebuggerEvent* event);
589 590
590 void FindCompiledFunctions(const Script& script, 591 void FindCompiledFunctions(const Script& script,
591 intptr_t start_pos, 592 intptr_t start_pos,
592 intptr_t end_pos, 593 intptr_t end_pos,
593 GrowableObjectArray* function_list); 594 GrowableObjectArray* function_list);
594 RawFunction* FindBestFit(const Script& script, intptr_t token_pos); 595 RawFunction* FindBestFit(const Script& script, intptr_t token_pos);
595 RawFunction* FindInnermostClosure(const Function& function, 596 RawFunction* FindInnermostClosure(const Function& function,
596 intptr_t token_pos); 597 intptr_t token_pos);
597 intptr_t ResolveBreakpointPos(const Function& func, 598 intptr_t ResolveBreakpointPos(const Function& func,
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 696
696 friend class Isolate; 697 friend class Isolate;
697 friend class BreakpointLocation; 698 friend class BreakpointLocation;
698 DISALLOW_COPY_AND_ASSIGN(Debugger); 699 DISALLOW_COPY_AND_ASSIGN(Debugger);
699 }; 700 };
700 701
701 702
702 } // namespace dart 703 } // namespace dart
703 704
704 #endif // VM_DEBUGGER_H_ 705 #endif // VM_DEBUGGER_H_
OLDNEW
« no previous file with comments | « runtime/vm/dart_api_impl_test.cc ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698