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

Side by Side Diff: src/debug.h

Issue 281733002: Rename debug API methods. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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 | « src/d8.cc ('k') | src/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_H_ 5 #ifndef V8_DEBUG_H_
6 #define V8_DEBUG_H_ 6 #define V8_DEBUG_H_
7 7
8 #include "allocation.h" 8 #include "allocation.h"
9 #include "arguments.h" 9 #include "arguments.h"
10 #include "assembler.h" 10 #include "assembler.h"
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after
775 AfterCompileFlags after_compile_flags); 775 AfterCompileFlags after_compile_flags);
776 void OnScriptCollected(int id); 776 void OnScriptCollected(int id);
777 void ProcessDebugEvent(v8::DebugEvent event, 777 void ProcessDebugEvent(v8::DebugEvent event,
778 Handle<JSObject> event_data, 778 Handle<JSObject> event_data,
779 bool auto_continue); 779 bool auto_continue);
780 void NotifyMessageHandler(v8::DebugEvent event, 780 void NotifyMessageHandler(v8::DebugEvent event,
781 Handle<JSObject> exec_state, 781 Handle<JSObject> exec_state,
782 Handle<JSObject> event_data, 782 Handle<JSObject> event_data,
783 bool auto_continue); 783 bool auto_continue);
784 void SetEventListener(Handle<Object> callback, Handle<Object> data); 784 void SetEventListener(Handle<Object> callback, Handle<Object> data);
785 void SetMessageHandler(v8::Debug::MessageHandler2 handler); 785 void SetMessageHandler(v8::Debug::MessageHandler handler);
786 void SetDebugMessageDispatchHandler( 786 void SetDebugMessageDispatchHandler(
787 v8::Debug::DebugMessageDispatchHandler handler, 787 v8::Debug::DebugMessageDispatchHandler handler,
788 bool provide_locker); 788 bool provide_locker);
789 789
790 // Invoke the message handler function. 790 // Invoke the message handler function.
791 void InvokeMessageHandler(MessageImpl message); 791 void InvokeMessageHandler(MessageImpl message);
792 792
793 // Add a debugger command to the command queue. 793 // Add a debugger command to the command queue.
794 void ProcessCommand(Vector<const uint16_t> command, 794 void ProcessCommand(Vector<const uint16_t> command,
795 v8::Debug::ClientData* client_data = NULL); 795 v8::Debug::ClientData* client_data = NULL);
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
882 Handle<Object> event_data); 882 Handle<Object> event_data);
883 void ListenersChanged(); 883 void ListenersChanged();
884 884
885 RecursiveMutex debugger_access_; // Mutex guarding debugger variables. 885 RecursiveMutex debugger_access_; // Mutex guarding debugger variables.
886 Handle<Object> event_listener_; // Global handle to listener. 886 Handle<Object> event_listener_; // Global handle to listener.
887 Handle<Object> event_listener_data_; 887 Handle<Object> event_listener_data_;
888 bool is_active_; 888 bool is_active_;
889 bool ignore_debugger_; // Are we temporarily ignoring the debugger? 889 bool ignore_debugger_; // Are we temporarily ignoring the debugger?
890 bool live_edit_enabled_; // Enable LiveEdit. 890 bool live_edit_enabled_; // Enable LiveEdit.
891 bool never_unload_debugger_; // Can we unload the debugger? 891 bool never_unload_debugger_; // Can we unload the debugger?
892 v8::Debug::MessageHandler2 message_handler_; 892 v8::Debug::MessageHandler message_handler_;
893 bool debugger_unload_pending_; // Was message handler cleared? 893 bool debugger_unload_pending_; // Was message handler cleared?
894 894
895 Mutex dispatch_handler_access_; // Mutex guarding dispatch handler. 895 Mutex dispatch_handler_access_; // Mutex guarding dispatch handler.
896 v8::Debug::DebugMessageDispatchHandler debug_message_dispatch_handler_; 896 v8::Debug::DebugMessageDispatchHandler debug_message_dispatch_handler_;
897 MessageDispatchHelperThread* message_dispatch_helper_thread_; 897 MessageDispatchHelperThread* message_dispatch_helper_thread_;
898 898
899 DebuggerAgent* agent_; 899 DebuggerAgent* agent_;
900 900
901 static const int kQueueInitialSize = 4; 901 static const int kQueueInitialSize = 4;
902 LockingCommandMessageQueue command_queue_; 902 LockingCommandMessageQueue command_queue_;
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
1013 Mutex mutex_; 1013 Mutex mutex_;
1014 bool already_signalled_; 1014 bool already_signalled_;
1015 1015
1016 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); 1016 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread);
1017 }; 1017 };
1018 1018
1019 1019
1020 } } // namespace v8::internal 1020 } } // namespace v8::internal
1021 1021
1022 #endif // V8_DEBUG_H_ 1022 #endif // V8_DEBUG_H_
OLDNEW
« no previous file with comments | « src/d8.cc ('k') | src/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698