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

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: tweaks 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
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 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 451
452 private: 452 private:
453 enum ResumeAction { 453 enum ResumeAction {
454 kContinue, 454 kContinue,
455 kStepOver, 455 kStepOver,
456 kStepOut, 456 kStepOut,
457 kSingleStep 457 kSingleStep
458 }; 458 };
459 459
460 static bool HasEventHandler(); 460 static bool HasEventHandler();
461 static void InvokeEventHandler(DebuggerEvent* event); 461 void InvokeEventHandler(DebuggerEvent* event);
462 462
463 void FindCompiledFunctions(const Script& script, 463 void FindCompiledFunctions(const Script& script,
464 intptr_t start_pos, 464 intptr_t start_pos,
465 intptr_t end_pos, 465 intptr_t end_pos,
466 GrowableObjectArray* function_list); 466 GrowableObjectArray* function_list);
467 RawFunction* FindBestFit(const Script& script, intptr_t token_pos); 467 RawFunction* FindBestFit(const Script& script, intptr_t token_pos);
468 RawFunction* FindInnermostClosure(const Function& function, 468 RawFunction* FindInnermostClosure(const Function& function,
469 intptr_t token_pos); 469 intptr_t token_pos);
470 intptr_t ResolveBreakpointPos(const Function& func, 470 intptr_t ResolveBreakpointPos(const Function& func,
471 intptr_t requested_token_pos, 471 intptr_t requested_token_pos,
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 561
562 friend class Isolate; 562 friend class Isolate;
563 friend class SourceBreakpoint; 563 friend class SourceBreakpoint;
564 DISALLOW_COPY_AND_ASSIGN(Debugger); 564 DISALLOW_COPY_AND_ASSIGN(Debugger);
565 }; 565 };
566 566
567 567
568 } // namespace dart 568 } // namespace dart
569 569
570 #endif // VM_DEBUGGER_H_ 570 #endif // VM_DEBUGGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698