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

Side by Side Diff: include/v8-debug.h

Issue 1036863002: Debugger: remove debug command API. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix test Created 5 years, 8 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 | « no previous file | src/api.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 2008 the V8 project authors. All rights reserved. 1 // Copyright 2008 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_V8_DEBUG_H_ 5 #ifndef V8_V8_DEBUG_H_
6 #define V8_V8_DEBUG_H_ 6 #define V8_V8_DEBUG_H_
7 7
8 #include "v8.h" 8 #include "v8.h"
9 9
10 /** 10 /**
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 // in the given isolate. 163 // in the given isolate.
164 static void DebugBreak(Isolate* isolate); 164 static void DebugBreak(Isolate* isolate);
165 165
166 // Remove scheduled debugger break in given isolate if it has not 166 // Remove scheduled debugger break in given isolate if it has not
167 // happened yet. 167 // happened yet.
168 static void CancelDebugBreak(Isolate* isolate); 168 static void CancelDebugBreak(Isolate* isolate);
169 169
170 // Check if a debugger break is scheduled in the given isolate. 170 // Check if a debugger break is scheduled in the given isolate.
171 static bool CheckDebugBreak(Isolate* isolate); 171 static bool CheckDebugBreak(Isolate* isolate);
172 172
173 // Break execution of JavaScript in the given isolate (this method
174 // can be invoked from a non-VM thread) for further client command
175 // execution on a VM thread. Client data is then passed in
176 // EventDetails to EventCallback2 at the moment when the VM actually
177 // stops.
178 static void DebugBreakForCommand(Isolate* isolate, ClientData* data);
179
180 // Message based interface. The message protocol is JSON. 173 // Message based interface. The message protocol is JSON.
181 static void SetMessageHandler(MessageHandler handler); 174 static void SetMessageHandler(MessageHandler handler);
182 175
183 static void SendCommand(Isolate* isolate, 176 static void SendCommand(Isolate* isolate,
184 const uint16_t* command, int length, 177 const uint16_t* command, int length,
185 ClientData* client_data = NULL); 178 ClientData* client_data = NULL);
186 179
187 /** 180 /**
188 * Run a JavaScript function in the debugger. 181 * Run a JavaScript function in the debugger.
189 * \param fun the function to call 182 * \param fun the function to call
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 }; 263 };
271 264
272 265
273 } // namespace v8 266 } // namespace v8
274 267
275 268
276 #undef EXPORT 269 #undef EXPORT
277 270
278 271
279 #endif // V8_V8_DEBUG_H_ 272 #endif // V8_V8_DEBUG_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698