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

Side by Side Diff: src/debug/debug-interface.h

Issue 2744553002: [debugger] do not enable liveedit by default. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « src/debug/debug.cc ('k') | src/flag-definitions.h » ('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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_DEBUG_DEBUG_INTERFACE_H_ 5 #ifndef V8_DEBUG_DEBUG_INTERFACE_H_
6 #define V8_DEBUG_DEBUG_INTERFACE_H_ 6 #define V8_DEBUG_DEBUG_INTERFACE_H_
7 7
8 #include <functional> 8 #include <functional>
9 9
10 #include "include/v8-debug.h" 10 #include "include/v8-debug.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 */ 54 */
55 // TODO(dcarney): data arg should be a MaybeLocal 55 // TODO(dcarney): data arg should be a MaybeLocal
56 MaybeLocal<Value> Call(Local<Context> context, v8::Local<v8::Function> fun, 56 MaybeLocal<Value> Call(Local<Context> context, v8::Local<v8::Function> fun,
57 Local<Value> data = Local<Value>()); 57 Local<Value> data = Local<Value>());
58 58
59 /** 59 /**
60 * Enable/disable LiveEdit functionality for the given Isolate 60 * Enable/disable LiveEdit functionality for the given Isolate
61 * (default Isolate if not provided). V8 will abort if LiveEdit is 61 * (default Isolate if not provided). V8 will abort if LiveEdit is
62 * unexpectedly used. LiveEdit is enabled by default. 62 * unexpectedly used. LiveEdit is enabled by default.
63 */ 63 */
64 void SetLiveEditEnabled(Isolate* isolate, bool enable); 64 V8_EXPORT_PRIVATE void SetLiveEditEnabled(Isolate* isolate, bool enable);
65 65
66 // Schedule a debugger break to happen when JavaScript code is run 66 // Schedule a debugger break to happen when JavaScript code is run
67 // in the given isolate. 67 // in the given isolate.
68 void DebugBreak(Isolate* isolate); 68 void DebugBreak(Isolate* isolate);
69 69
70 // Remove scheduled debugger break in given isolate if it has not 70 // Remove scheduled debugger break in given isolate if it has not
71 // happened yet. 71 // happened yet.
72 void CancelDebugBreak(Isolate* isolate); 72 void CancelDebugBreak(Isolate* isolate);
73 73
74 /** 74 /**
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 ~Coverage(); 255 ~Coverage();
256 256
257 private: 257 private:
258 explicit Coverage(i::Coverage* coverage) : coverage_(coverage) {} 258 explicit Coverage(i::Coverage* coverage) : coverage_(coverage) {}
259 i::Coverage* coverage_; 259 i::Coverage* coverage_;
260 }; 260 };
261 } // namespace debug 261 } // namespace debug
262 } // namespace v8 262 } // namespace v8
263 263
264 #endif // V8_DEBUG_DEBUG_INTERFACE_H_ 264 #endif // V8_DEBUG_DEBUG_INTERFACE_H_
OLDNEW
« no previous file with comments | « src/debug/debug.cc ('k') | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698