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

Side by Side Diff: src/debug.h

Issue 12041008: Check for FLAG_enable_liveedit when using Live Edit. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 11 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 857 matching lines...) Expand 10 before | Expand all | Expand 10 after
868 return !compiling_natives_ && Debugger::IsDebuggerActive(); 868 return !compiling_natives_ && Debugger::IsDebuggerActive();
869 } 869 }
870 870
871 void set_compiling_natives(bool compiling_natives) { 871 void set_compiling_natives(bool compiling_natives) {
872 compiling_natives_ = compiling_natives; 872 compiling_natives_ = compiling_natives;
873 } 873 }
874 bool compiling_natives() const { return compiling_natives_; } 874 bool compiling_natives() const { return compiling_natives_; }
875 void set_loading_debugger(bool v) { is_loading_debugger_ = v; } 875 void set_loading_debugger(bool v) { is_loading_debugger_ = v; }
876 bool is_loading_debugger() const { return is_loading_debugger_; } 876 bool is_loading_debugger() const { return is_loading_debugger_; }
877 void set_live_edit_enabled(bool v) { live_edit_enabled_ = v; } 877 void set_live_edit_enabled(bool v) { live_edit_enabled_ = v; }
878 bool live_edit_enabled() const { return live_edit_enabled_; } 878 bool live_edit_enabled() const {
879 return FLAG_enable_liveedit && live_edit_enabled_ ;
880 }
879 void set_force_debugger_active(bool force_debugger_active) { 881 void set_force_debugger_active(bool force_debugger_active) {
880 force_debugger_active_ = force_debugger_active; 882 force_debugger_active_ = force_debugger_active;
881 } 883 }
882 bool force_debugger_active() const { return force_debugger_active_; } 884 bool force_debugger_active() const { return force_debugger_active_; }
883 885
884 bool IsDebuggerActive(); 886 bool IsDebuggerActive();
885 887
886 private: 888 private:
887 explicit Debugger(Isolate* isolate); 889 explicit Debugger(Isolate* isolate);
888 890
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
1041 1043
1042 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); 1044 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread);
1043 }; 1045 };
1044 1046
1045 1047
1046 } } // namespace v8::internal 1048 } } // namespace v8::internal
1047 1049
1048 #endif // ENABLE_DEBUGGER_SUPPORT 1050 #endif // ENABLE_DEBUGGER_SUPPORT
1049 1051
1050 #endif // V8_DEBUG_H_ 1052 #endif // V8_DEBUG_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698