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

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

Issue 1113243002: Add the --steal-breakpoints flag. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: switch branch Created 5 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « runtime/observatory/tests/service/steal_breakpoint_test.dart ('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_debugger_api.h" 8 #include "include/dart_debugger_api.h"
9 9
10 #include "vm/object.h" 10 #include "vm/object.h"
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 454
455 private: 455 private:
456 enum ResumeAction { 456 enum ResumeAction {
457 kContinue, 457 kContinue,
458 kStepOver, 458 kStepOver,
459 kStepOut, 459 kStepOut,
460 kSingleStep 460 kSingleStep
461 }; 461 };
462 462
463 static bool HasEventHandler(); 463 static bool HasEventHandler();
464 static void InvokeEventHandler(DebuggerEvent* event); 464 void InvokeEventHandler(DebuggerEvent* event);
465 465
466 void FindCompiledFunctions(const Script& script, 466 void FindCompiledFunctions(const Script& script,
467 intptr_t start_pos, 467 intptr_t start_pos,
468 intptr_t end_pos, 468 intptr_t end_pos,
469 GrowableObjectArray* function_list); 469 GrowableObjectArray* function_list);
470 RawFunction* FindBestFit(const Script& script, intptr_t token_pos); 470 RawFunction* FindBestFit(const Script& script, intptr_t token_pos);
471 RawFunction* FindInnermostClosure(const Function& function, 471 RawFunction* FindInnermostClosure(const Function& function,
472 intptr_t token_pos); 472 intptr_t token_pos);
473 intptr_t ResolveBreakpointPos(const Function& func, 473 intptr_t ResolveBreakpointPos(const Function& func,
474 intptr_t requested_token_pos, 474 intptr_t requested_token_pos,
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 564
565 friend class Isolate; 565 friend class Isolate;
566 friend class SourceBreakpoint; 566 friend class SourceBreakpoint;
567 DISALLOW_COPY_AND_ASSIGN(Debugger); 567 DISALLOW_COPY_AND_ASSIGN(Debugger);
568 }; 568 };
569 569
570 570
571 } // namespace dart 571 } // namespace dart
572 572
573 #endif // VM_DEBUGGER_H_ 573 #endif // VM_DEBUGGER_H_
OLDNEW
« no previous file with comments | « runtime/observatory/tests/service/steal_breakpoint_test.dart ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698