OLD | NEW |
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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 /** | 256 /** |
257 * Enable the V8 builtin debug agent. The debugger agent will listen on the | 257 * Enable the V8 builtin debug agent. The debugger agent will listen on the |
258 * supplied TCP/IP port for remote debugger connection. | 258 * supplied TCP/IP port for remote debugger connection. |
259 * \param name the name of the embedding application | 259 * \param name the name of the embedding application |
260 * \param port the TCP/IP port to listen on | 260 * \param port the TCP/IP port to listen on |
261 * \param wait_for_connection whether V8 should pause on a first breakpoint | 261 * \param wait_for_connection whether V8 should pause on a first breakpoint |
262 * allowing remote debugger to connect before anything interesting happened | 262 * allowing remote debugger to connect before anything interesting happened |
263 */ | 263 */ |
264 static bool EnableAgent(const char* name, int port, | 264 static bool EnableAgent(const char* name, int port, |
265 bool wait_for_connection = false); | 265 bool wait_for_connection = false); |
| 266 |
| 267 static void ProcessDebuggerCommands(); |
266 }; | 268 }; |
267 | 269 |
268 | 270 |
269 } // namespace v8 | 271 } // namespace v8 |
270 | 272 |
271 | 273 |
272 #undef EXPORT | 274 #undef EXPORT |
273 | 275 |
274 | 276 |
275 #endif // V8_V8_DEBUG_H_ | 277 #endif // V8_V8_DEBUG_H_ |
OLD | NEW |