| 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 * return exec_state.frame(0).sourceLine(); | 155 * return exec_state.frame(0).sourceLine(); |
| 156 * } | 156 * } |
| 157 * \endcode | 157 * \endcode |
| 158 */ | 158 */ |
| 159 static Handle<Value> Call(v8::Handle<v8::Function> fun, | 159 static Handle<Value> Call(v8::Handle<v8::Function> fun, |
| 160 Handle<Value> data = Handle<Value>()); | 160 Handle<Value> data = Handle<Value>()); |
| 161 | 161 |
| 162 /** | 162 /** |
| 163 * Enable the V8 builtin debug agent. The debugger agent will listen on the | 163 * Enable the V8 builtin debug agent. The debugger agent will listen on the |
| 164 * supplied TCP/IP port for remote debugger connection. | 164 * supplied TCP/IP port for remote debugger connection. |
| 165 * \param name the name of the embedding application |
| 165 * \param port the TCP/IP port to listen on | 166 * \param port the TCP/IP port to listen on |
| 166 */ | 167 */ |
| 167 static bool EnableAgent(int port); | 168 static bool EnableAgent(const char* name, int port); |
| 168 }; | 169 }; |
| 169 | 170 |
| 170 | 171 |
| 171 } // namespace v8 | 172 } // namespace v8 |
| 172 | 173 |
| 173 | 174 |
| 174 #undef EXPORT | 175 #undef EXPORT |
| 175 | 176 |
| 176 | 177 |
| 177 #endif // V8_DEBUG_H_ | 178 #endif // V8_DEBUG_H_ |
| OLD | NEW |