v8-debug.h | v8-debug.h | |||
---|---|---|---|---|
skipping to change at line 256 | skipping to change at line 256 | |||
/** | /** | |||
* Returns a mirror object for the given object. | * Returns a mirror object for the given object. | |||
*/ | */ | |||
static Local<Value> GetMirror(v8::Handle<v8::Value> obj); | static Local<Value> GetMirror(v8::Handle<v8::Value> obj); | |||
/** | /** | |||
* Enable the V8 builtin debug agent. The debugger agent will listen on th e | * Enable the V8 builtin debug agent. The debugger agent will listen on th e | |||
* supplied TCP/IP port for remote debugger connection. | * supplied TCP/IP port for remote debugger connection. | |||
* \param name the name of the embedding application | * \param name the name of the embedding application | |||
* \param port the TCP/IP port to listen on | * \param port the TCP/IP port to listen on | |||
* \param wait_for_connection whether V8 should pause on a first statement | ||||
* allowing remote debugger to connect before anything interesting happe | ||||
ned | ||||
*/ | */ | |||
static bool EnableAgent(const char* name, int port); | static bool EnableAgent(const char* name, int port, | |||
bool wait_for_connection = false); | ||||
}; | }; | |||
} // namespace v8 | } // namespace v8 | |||
#undef EXPORT | #undef EXPORT | |||
#endif // V8_V8_DEBUG_H_ | #endif // V8_V8_DEBUG_H_ | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
v8.h | v8.h | |||
---|---|---|---|---|
skipping to change at line 497 | skipping to change at line 497 | |||
* data is given to the compile method compilation will be faster. | * data is given to the compile method compilation will be faster. | |||
*/ | */ | |||
class V8EXPORT ScriptData { // NOLINT | class V8EXPORT ScriptData { // NOLINT | |||
public: | public: | |||
virtual ~ScriptData() { } | virtual ~ScriptData() { } | |||
static ScriptData* PreCompile(const char* input, int length); | static ScriptData* PreCompile(const char* input, int length); | |||
static ScriptData* New(unsigned* data, int length); | static ScriptData* New(unsigned* data, int length); | |||
virtual int Length() = 0; | virtual int Length() = 0; | |||
virtual unsigned* Data() = 0; | virtual unsigned* Data() = 0; | |||
virtual bool HasError() = 0; | ||||
}; | }; | |||
/** | /** | |||
* The origin, within a file, of a script. | * The origin, within a file, of a script. | |||
*/ | */ | |||
class V8EXPORT ScriptOrigin { | class V8EXPORT ScriptOrigin { | |||
public: | public: | |||
ScriptOrigin(Handle<Value> resource_name, | ScriptOrigin(Handle<Value> resource_name, | |||
Handle<Integer> resource_line_offset = Handle<Integer>(), | Handle<Integer> resource_line_offset = Handle<Integer>(), | |||
Handle<Integer> resource_column_offset = Handle<Integer>()) | Handle<Integer> resource_column_offset = Handle<Integer>()) | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||