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

Side by Side Diff: src/d8.h

Issue 9138015: Enable asynchronous remote debugging with d8. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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 | src/d8.cc » ('j') | src/d8.cc » ('J')
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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 static Handle<Array> GetCompletions(Handle<String> text, 259 static Handle<Array> GetCompletions(Handle<String> text,
260 Handle<String> full); 260 Handle<String> full);
261 static void OnExit(); 261 static void OnExit();
262 static int* LookupCounter(const char* name); 262 static int* LookupCounter(const char* name);
263 static void* CreateHistogram(const char* name, 263 static void* CreateHistogram(const char* name,
264 int min, 264 int min,
265 int max, 265 int max,
266 size_t buckets); 266 size_t buckets);
267 static void AddHistogramSample(void* histogram, int sample); 267 static void AddHistogramSample(void* histogram, int sample);
268 static void MapCounters(const char* name); 268 static void MapCounters(const char* name);
269 #endif // V8_SHARED
270 269
271 #ifdef ENABLE_DEBUGGER_SUPPORT 270 #ifdef ENABLE_DEBUGGER_SUPPORT
272 static Handle<Object> DebugMessageDetails(Handle<String> message); 271 static Handle<Object> DebugMessageDetails(Handle<String> message);
273 static Handle<Value> DebugCommandToJSONRequest(Handle<String> command); 272 static Handle<Value> DebugCommandToJSONRequest(Handle<String> command);
274 #endif 273 static void DispatchDebugMessages();
274 #endif // ENABLE_DEBUGGER_SUPPORT
275 #endif // V8_SHARED
275 276
276 #ifdef WIN32 277 #ifdef WIN32
277 #undef Yield 278 #undef Yield
278 #endif 279 #endif
279 280
280 static Handle<Value> Print(const Arguments& args); 281 static Handle<Value> Print(const Arguments& args);
281 static Handle<Value> Write(const Arguments& args); 282 static Handle<Value> Write(const Arguments& args);
282 static Handle<Value> Yield(const Arguments& args); 283 static Handle<Value> Yield(const Arguments& args);
283 static Handle<Value> Quit(const Arguments& args); 284 static Handle<Value> Quit(const Arguments& args);
284 static Handle<Value> Version(const Arguments& args); 285 static Handle<Value> Version(const Arguments& args);
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 ExternalArrayType type, 365 ExternalArrayType type,
365 size_t element_size); 366 size_t element_size);
366 static void ExternalArrayWeakCallback(Persistent<Value> object, void* data); 367 static void ExternalArrayWeakCallback(Persistent<Value> object, void* data);
367 }; 368 };
368 369
369 370
370 } // namespace v8 371 } // namespace v8
371 372
372 373
373 #endif // V8_D8_H_ 374 #endif // V8_D8_H_
OLDNEW
« no previous file with comments | « no previous file | src/d8.cc » ('j') | src/d8.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698