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

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

Issue 8139027: Version 3.6.5 (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: '' Created 9 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 | Annotate | Revision Log
« no previous file with comments | « include/v8.h ('k') | include/v8-profiler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:executable
+ *
OLDNEW
1 // Copyright 2008 the V8 project authors. All rights reserved. 1 // Copyright 2008 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 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 * supplied TCP/IP port for remote debugger connection. 333 * supplied TCP/IP port for remote debugger connection.
334 * \param name the name of the embedding application 334 * \param name the name of the embedding application
335 * \param port the TCP/IP port to listen on 335 * \param port the TCP/IP port to listen on
336 * \param wait_for_connection whether V8 should pause on a first statement 336 * \param wait_for_connection whether V8 should pause on a first statement
337 * allowing remote debugger to connect before anything interesting happened 337 * allowing remote debugger to connect before anything interesting happened
338 */ 338 */
339 static bool EnableAgent(const char* name, int port, 339 static bool EnableAgent(const char* name, int port,
340 bool wait_for_connection = false); 340 bool wait_for_connection = false);
341 341
342 /** 342 /**
343 * Disable the V8 builtin debug agent. The TCP/IP connection will be closed.
344 */
345 static void DisableAgent();
346
347 /**
343 * Makes V8 process all pending debug messages. 348 * Makes V8 process all pending debug messages.
344 * 349 *
345 * From V8 point of view all debug messages come asynchronously (e.g. from 350 * From V8 point of view all debug messages come asynchronously (e.g. from
346 * remote debugger) but they all must be handled synchronously: V8 cannot 351 * remote debugger) but they all must be handled synchronously: V8 cannot
347 * do 2 things at one time so normal script execution must be interrupted 352 * do 2 things at one time so normal script execution must be interrupted
348 * for a while. 353 * for a while.
349 * 354 *
350 * Generally when message arrives V8 may be in one of 3 states: 355 * Generally when message arrives V8 may be in one of 3 states:
351 * 1. V8 is running script; V8 will automatically interrupt and process all 356 * 1. V8 is running script; V8 will automatically interrupt and process all
352 * pending messages (however auto_break flag should be enabled); 357 * pending messages (however auto_break flag should be enabled);
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 }; 391 };
387 392
388 393
389 } // namespace v8 394 } // namespace v8
390 395
391 396
392 #undef EXPORT 397 #undef EXPORT
393 398
394 399
395 #endif // V8_V8_DEBUG_H_ 400 #endif // V8_V8_DEBUG_H_
OLDNEW
« no previous file with comments | « include/v8.h ('k') | include/v8-profiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698