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

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

Issue 9716004: Properly recognize closures when setting breakpoints (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 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 | « no previous file | runtime/vm/debugger.cc » ('j') | runtime/vm/debugger.cc » ('J')
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 "vm/object.h" 8 #include "vm/object.h"
9 9
10 namespace dart { 10 namespace dart {
(...skipping 19 matching lines...) Expand all
30 RawString* SourceUrl(); 30 RawString* SourceUrl();
31 intptr_t LineNumber(); 31 intptr_t LineNumber();
32 32
33 void Enable(); 33 void Enable();
34 void Disable(); 34 void Disable();
35 bool IsEnabled() const { return is_enabled_; } 35 bool IsEnabled() const { return is_enabled_; }
36 36
37 private: 37 private:
38 void VisitObjectPointers(ObjectPointerVisitor* visitor); 38 void VisitObjectPointers(ObjectPointerVisitor* visitor);
39 39
40 void set_function(const Function& func);
40 void set_next(SourceBreakpoint* value) { next_ = value; } 41 void set_next(SourceBreakpoint* value) { next_ = value; }
41 SourceBreakpoint* next() const { return this->next_; } 42 SourceBreakpoint* next() const { return this->next_; }
42 43
43 RawFunction* function_; 44 RawFunction* function_;
44 intptr_t token_index_; 45 intptr_t token_index_;
45 intptr_t line_number_; 46 intptr_t line_number_;
46 bool is_enabled_; 47 bool is_enabled_;
47 48
48 SourceBreakpoint* next_; 49 SourceBreakpoint* next_;
49 50
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 bool ignore_breakpoints_; 270 bool ignore_breakpoints_;
270 271
271 friend class SourceBreakpoint; 272 friend class SourceBreakpoint;
272 DISALLOW_COPY_AND_ASSIGN(Debugger); 273 DISALLOW_COPY_AND_ASSIGN(Debugger);
273 }; 274 };
274 275
275 276
276 } // namespace dart 277 } // namespace dart
277 278
278 #endif // VM_DEBUGGER_H_ 279 #endif // VM_DEBUGGER_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/debugger.cc » ('j') | runtime/vm/debugger.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698