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

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

Issue 15359010: Make VM debugger stop at every safe point (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 | « no previous file | 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 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 DebuggerStackTrace* stack_trace_; 366 DebuggerStackTrace* stack_trace_;
367 367
368 RemoteObjectCache* obj_cache_; 368 RemoteObjectCache* obj_cache_;
369 369
370 SourceBreakpoint* src_breakpoints_; 370 SourceBreakpoint* src_breakpoints_;
371 CodeBreakpoint* code_breakpoints_; 371 CodeBreakpoint* code_breakpoints_;
372 372
373 // Tells debugger what to do when resuming execution after a breakpoint. 373 // Tells debugger what to do when resuming execution after a breakpoint.
374 ResumeAction resume_action_; 374 ResumeAction resume_action_;
375 375
376 // If >= 0, last_bpt_line contains the line number of the last breakpoint
377 // location for which the breakpoint callback function was called.
378 intptr_t last_bpt_line_;
379
380 // Do not call back to breakpoint handler if this flag is set. 376 // Do not call back to breakpoint handler if this flag is set.
381 // Effectively this means ignoring breakpoints. Set when Dart code may 377 // Effectively this means ignoring breakpoints. Set when Dart code may
382 // be run as a side effect of getting values of fields. 378 // be run as a side effect of getting values of fields.
383 bool ignore_breakpoints_; 379 bool ignore_breakpoints_;
384 380
385 Dart_ExceptionPauseInfo exc_pause_info_; 381 Dart_ExceptionPauseInfo exc_pause_info_;
386 382
387 static BreakpointHandler* bp_handler_; 383 static BreakpointHandler* bp_handler_;
388 static EventHandler* event_handler_; 384 static EventHandler* event_handler_;
389 385
390 friend class Isolate; 386 friend class Isolate;
391 friend class SourceBreakpoint; 387 friend class SourceBreakpoint;
392 DISALLOW_COPY_AND_ASSIGN(Debugger); 388 DISALLOW_COPY_AND_ASSIGN(Debugger);
393 }; 389 };
394 390
395 391
396 } // namespace dart 392 } // namespace dart
397 393
398 #endif // VM_DEBUGGER_H_ 394 #endif // VM_DEBUGGER_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698