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

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

Issue 2396193002: [inspector] move changeBreakpointState from debugger-script to native (Closed)
Patch Set: rebased Created 4 years, 2 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/api.cc ('k') | src/inspector/debugger-script.js » ('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 "include/v8-debug.h" 8 #include "include/v8-debug.h"
9 #include "include/v8.h" 9 #include "include/v8.h"
10 10
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 // happened yet. 105 // happened yet.
106 static void CancelDebugBreak(Isolate* isolate); 106 static void CancelDebugBreak(Isolate* isolate);
107 107
108 /** 108 /**
109 * Returns array of internal properties specific to the value type. Result has 109 * Returns array of internal properties specific to the value type. Result has
110 * the following format: [<name>, <value>,...,<name>, <value>]. Result array 110 * the following format: [<name>, <value>,...,<name>, <value>]. Result array
111 * will be allocated in the current context. 111 * will be allocated in the current context.
112 */ 112 */
113 static MaybeLocal<Array> GetInternalProperties(Isolate* isolate, 113 static MaybeLocal<Array> GetInternalProperties(Isolate* isolate,
114 Local<Value> value); 114 Local<Value> value);
115
116 enum ExceptionBreakState {
117 NoBreakOnException = 0,
118 BreakOnUncaughtException = 1,
119 BreakOnAnyException = 2
120 };
121
122 /**
123 * Defines if VM will pause on exceptions or not.
124 * If BreakOnAnyExceptions is set then VM will pause on caught and uncaught
125 * exception, if BreakOnUncaughtException is set then VM will pause only on
126 * uncaught exception, otherwise VM won't stop on any exception.
127 */
128 static void ChangeBreakOnException(Isolate* isolate,
129 ExceptionBreakState state);
115 }; 130 };
116 131
117 } // namespace v8 132 } // namespace v8
118 133
119 #endif // V8_DEBUG_DEBUG_INTERFACE_H_ 134 #endif // V8_DEBUG_DEBUG_INTERFACE_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/inspector/debugger-script.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698