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

Side by Side Diff: src/debug/debug.h

Issue 2549133002: [debug] Remove DebugInterface class (Closed)
Patch Set: Fix overall CL ;) Created 4 years 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
« src/api.cc ('K') | « src/api.cc ('k') | src/debug/debug.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_DEBUG_DEBUG_H_ 5 #ifndef V8_DEBUG_DEBUG_H_
6 #define V8_DEBUG_DEBUG_H_ 6 #define V8_DEBUG_DEBUG_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/arguments.h" 9 #include "src/arguments.h"
10 #include "src/assembler.h" 10 #include "src/assembler.h"
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 bool is_event_; // Does this message represent a debug event? 276 bool is_event_; // Does this message represent a debug event?
277 DebugEvent event_; // Debug event causing the break. 277 DebugEvent event_; // Debug event causing the break.
278 bool running_; // Will the VM start running after this event? 278 bool running_; // Will the VM start running after this event?
279 Handle<JSObject> exec_state_; // Current execution state. 279 Handle<JSObject> exec_state_; // Current execution state.
280 Handle<JSObject> event_data_; // Data associated with the event. 280 Handle<JSObject> event_data_; // Data associated with the event.
281 Handle<String> response_json_; // Response JSON if message holds a response. 281 Handle<String> response_json_; // Response JSON if message holds a response.
282 v8::Debug::ClientData* client_data_; // Client data passed with the request. 282 v8::Debug::ClientData* client_data_; // Client data passed with the request.
283 }; 283 };
284 284
285 // Details of the debug event delivered to the debug event listener. 285 // Details of the debug event delivered to the debug event listener.
286 class EventDetailsImpl : public v8::DebugInterface::EventDetails { 286 class EventDetailsImpl : public debug::EventDetails {
287 public: 287 public:
288 EventDetailsImpl(DebugEvent event, 288 EventDetailsImpl(DebugEvent event,
289 Handle<JSObject> exec_state, 289 Handle<JSObject> exec_state,
290 Handle<JSObject> event_data, 290 Handle<JSObject> event_data,
291 Handle<Object> callback_data, 291 Handle<Object> callback_data,
292 v8::Debug::ClientData* client_data); 292 v8::Debug::ClientData* client_data);
293 virtual DebugEvent GetEvent() const; 293 virtual DebugEvent GetEvent() const;
294 virtual v8::Local<v8::Object> GetExecutionState() const; 294 virtual v8::Local<v8::Object> GetExecutionState() const;
295 virtual v8::Local<v8::Object> GetEventData() const; 295 virtual v8::Local<v8::Object> GetEventData() const;
296 virtual v8::Local<v8::Context> GetEventContext() const; 296 virtual v8::Local<v8::Context> GetEventContext() const;
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
812 Handle<Code> code); 812 Handle<Code> code);
813 static bool DebugBreakSlotIsPatched(Address pc); 813 static bool DebugBreakSlotIsPatched(Address pc);
814 static void ClearDebugBreakSlot(Isolate* isolate, Address pc); 814 static void ClearDebugBreakSlot(Isolate* isolate, Address pc);
815 }; 815 };
816 816
817 817
818 } // namespace internal 818 } // namespace internal
819 } // namespace v8 819 } // namespace v8
820 820
821 #endif // V8_DEBUG_DEBUG_H_ 821 #endif // V8_DEBUG_DEBUG_H_
OLDNEW
« src/api.cc ('K') | « src/api.cc ('k') | src/debug/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698