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

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

Issue 426083004: Remove flag enable_debugger as current debugging code has a very minor influence on unoptimzied cod… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 4 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/flow_graph_builder.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 #include "vm/debugger.h" 5 #include "vm/debugger.h"
6 6
7 #include "include/dart_api.h" 7 #include "include/dart_api.h"
8 8
9 #include "vm/code_generator.h" 9 #include "vm/code_generator.h"
10 #include "vm/code_patcher.h" 10 #include "vm/code_patcher.h"
(...skipping 10 matching lines...) Expand all
21 #include "vm/port.h" 21 #include "vm/port.h"
22 #include "vm/service.h" 22 #include "vm/service.h"
23 #include "vm/stack_frame.h" 23 #include "vm/stack_frame.h"
24 #include "vm/stub_code.h" 24 #include "vm/stub_code.h"
25 #include "vm/symbols.h" 25 #include "vm/symbols.h"
26 #include "vm/visitor.h" 26 #include "vm/visitor.h"
27 27
28 28
29 namespace dart { 29 namespace dart {
30 30
31 DEFINE_FLAG(bool, enable_debugger, true, "Enables debugger step checks");
32 DEFINE_FLAG(bool, show_invisible_frames, false, 31 DEFINE_FLAG(bool, show_invisible_frames, false,
33 "Show invisible frames in debugger stack traces"); 32 "Show invisible frames in debugger stack traces");
34 DEFINE_FLAG(bool, trace_debugger_stacktrace, false, 33 DEFINE_FLAG(bool, trace_debugger_stacktrace, false,
35 "Trace debugger stacktrace collection"); 34 "Trace debugger stacktrace collection");
36 DEFINE_FLAG(bool, verbose_debug, false, "Verbose debugger messages"); 35 DEFINE_FLAG(bool, verbose_debug, false, "Verbose debugger messages");
37 36
38 37
39 Debugger::EventHandler* Debugger::event_handler_ = NULL; 38 Debugger::EventHandler* Debugger::event_handler_ = NULL;
40 39
41 40
(...skipping 2537 matching lines...) Expand 10 before | Expand all | Expand 10 after
2579 } 2578 }
2580 2579
2581 2580
2582 void Debugger::RegisterCodeBreakpoint(CodeBreakpoint* bpt) { 2581 void Debugger::RegisterCodeBreakpoint(CodeBreakpoint* bpt) {
2583 ASSERT(bpt->next() == NULL); 2582 ASSERT(bpt->next() == NULL);
2584 bpt->set_next(code_breakpoints_); 2583 bpt->set_next(code_breakpoints_);
2585 code_breakpoints_ = bpt; 2584 code_breakpoints_ = bpt;
2586 } 2585 }
2587 2586
2588 } // namespace dart 2587 } // namespace dart
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698