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

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

Issue 15743019: Consolidate debug stubs (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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/vm/code_generator.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_debugger_api.h" 8 #include "include/dart_debugger_api.h"
9 9
10 #include "vm/object.h" 10 #include "vm/object.h"
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 RawObject* GetInstanceField(const Class& cls, 303 RawObject* GetInstanceField(const Class& cls,
304 const String& field_name, 304 const String& field_name,
305 const Instance& object); 305 const Instance& object);
306 RawObject* GetStaticField(const Class& cls, 306 RawObject* GetStaticField(const Class& cls,
307 const String& field_name); 307 const String& field_name);
308 308
309 void SignalBpReached(); 309 void SignalBpReached();
310 void SignalExceptionThrown(const Instance& exc); 310 void SignalExceptionThrown(const Instance& exc);
311 static void SignalIsolateEvent(EventType type); 311 static void SignalIsolateEvent(EventType type);
312 312
313 uword GetPatchedStubAddress(uword breakpoint_address);
314
313 private: 315 private:
314 enum ResumeAction { 316 enum ResumeAction {
315 kContinue, 317 kContinue,
316 kStepOver, 318 kStepOver,
317 kStepInto, 319 kStepInto,
318 kStepOut 320 kStepOut
319 }; 321 };
320 322
321 intptr_t ResolveBreakpointPos(const Function& func, 323 intptr_t ResolveBreakpointPos(const Function& func,
322 intptr_t first_token_pos, 324 intptr_t first_token_pos,
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 387
386 friend class Isolate; 388 friend class Isolate;
387 friend class SourceBreakpoint; 389 friend class SourceBreakpoint;
388 DISALLOW_COPY_AND_ASSIGN(Debugger); 390 DISALLOW_COPY_AND_ASSIGN(Debugger);
389 }; 391 };
390 392
391 393
392 } // namespace dart 394 } // namespace dart
393 395
394 #endif // VM_DEBUGGER_H_ 396 #endif // VM_DEBUGGER_H_
OLDNEW
« no previous file with comments | « runtime/vm/code_generator.cc ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698