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

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

Issue 1191133002: UI for setting/clearing closure-specific breakpoints. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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/observatory/tests/service/break_on_activation_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_tools_api.h" 8 #include "include/dart_tools_api.h"
9 9
10 #include "vm/object.h" 10 #include "vm/object.h"
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 void NotifyDoneLoading(); 420 void NotifyDoneLoading();
421 421
422 RawFunction* ResolveFunction(const Library& library, 422 RawFunction* ResolveFunction(const Library& library,
423 const String& class_name, 423 const String& class_name,
424 const String& function_name); 424 const String& function_name);
425 425
426 // Set breakpoint at closest location to function entry. 426 // Set breakpoint at closest location to function entry.
427 Breakpoint* SetBreakpointAtEntry(const Function& target_function, 427 Breakpoint* SetBreakpointAtEntry(const Function& target_function,
428 bool single_shot); 428 bool single_shot);
429 Breakpoint* SetBreakpointAtActivation(const Instance& closure); 429 Breakpoint* SetBreakpointAtActivation(const Instance& closure);
430 Breakpoint* BreakpointAtActivation(const Instance& closure);
430 431
431 // TODO(turnidge): script_url may no longer be specific enough. 432 // TODO(turnidge): script_url may no longer be specific enough.
432 Breakpoint* SetBreakpointAtLine(const String& script_url, 433 Breakpoint* SetBreakpointAtLine(const String& script_url,
433 intptr_t line_number); 434 intptr_t line_number);
434 RawError* OneTimeBreakAtEntry(const Function& target_function); 435 RawError* OneTimeBreakAtEntry(const Function& target_function);
435 436
436 BreakpointLocation* BreakpointLocationAtLine(const String& script_url, 437 BreakpointLocation* BreakpointLocationAtLine(const String& script_url,
437 intptr_t line_number); 438 intptr_t line_number);
438 439
439 440
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 633
633 friend class Isolate; 634 friend class Isolate;
634 friend class BreakpointLocation; 635 friend class BreakpointLocation;
635 DISALLOW_COPY_AND_ASSIGN(Debugger); 636 DISALLOW_COPY_AND_ASSIGN(Debugger);
636 }; 637 };
637 638
638 639
639 } // namespace dart 640 } // namespace dart
640 641
641 #endif // VM_DEBUGGER_H_ 642 #endif // VM_DEBUGGER_H_
OLDNEW
« no previous file with comments | « runtime/observatory/tests/service/break_on_activation_test.dart ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698