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

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

Issue 93118: Removed the debug message thread (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 8 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/api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 static bool SetDebugEventListener(EventCallback that, 131 static bool SetDebugEventListener(EventCallback that,
132 Handle<Value> data = Handle<Value>()); 132 Handle<Value> data = Handle<Value>());
133 133
134 // Set a JavaScript debug event listener. 134 // Set a JavaScript debug event listener.
135 static bool SetDebugEventListener(v8::Handle<v8::Object> that, 135 static bool SetDebugEventListener(v8::Handle<v8::Object> that,
136 Handle<Value> data = Handle<Value>()); 136 Handle<Value> data = Handle<Value>());
137 137
138 // Break execution of JavaScript. 138 // Break execution of JavaScript.
139 static void DebugBreak(); 139 static void DebugBreak();
140 140
141 // Message based interface. The message protocol is JSON. 141 // Message based interface. The message protocol is JSON. NOTE the message
142 // handler thread is not supported any more parameter must be false.
142 static void SetMessageHandler(MessageHandler handler, 143 static void SetMessageHandler(MessageHandler handler,
143 bool message_handler_thread = true); 144 bool message_handler_thread = false);
144 static void SendCommand(const uint16_t* command, int length, 145 static void SendCommand(const uint16_t* command, int length,
145 ClientData* client_data = NULL); 146 ClientData* client_data = NULL);
146 147
147 // Dispatch interface. 148 // Dispatch interface.
148 static void SetHostDispatchHandler(HostDispatchHandler handler, 149 static void SetHostDispatchHandler(HostDispatchHandler handler,
149 int period = 100); 150 int period = 100);
150 151
151 /** 152 /**
152 * Run a JavaScript function in the debugger. 153 * Run a JavaScript function in the debugger.
153 * \param fun the function to call 154 * \param fun the function to call
(...skipping 24 matching lines...) Expand all
178 }; 179 };
179 180
180 181
181 } // namespace v8 182 } // namespace v8
182 183
183 184
184 #undef EXPORT 185 #undef EXPORT
185 186
186 187
187 #endif // V8_DEBUG_H_ 188 #endif // V8_DEBUG_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698