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

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

Issue 1321543004: [futex] Allow debugger to break in the middle of a futexWait Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: pass parameter through HandleInterrupts Created 5 years, 3 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
« no previous file with comments | « no previous file | src/debug/debug.cc » ('j') | src/execution.h » ('J')
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 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 void OnAsyncTaskEvent(Handle<JSObject> data); 364 void OnAsyncTaskEvent(Handle<JSObject> data);
365 365
366 // API facing. 366 // API facing.
367 void SetEventListener(Handle<Object> callback, Handle<Object> data); 367 void SetEventListener(Handle<Object> callback, Handle<Object> data);
368 void SetMessageHandler(v8::Debug::MessageHandler handler); 368 void SetMessageHandler(v8::Debug::MessageHandler handler);
369 void EnqueueCommandMessage(Vector<const uint16_t> command, 369 void EnqueueCommandMessage(Vector<const uint16_t> command,
370 v8::Debug::ClientData* client_data = NULL); 370 v8::Debug::ClientData* client_data = NULL);
371 MUST_USE_RESULT MaybeHandle<Object> Call(Handle<JSFunction> fun, 371 MUST_USE_RESULT MaybeHandle<Object> Call(Handle<JSFunction> fun,
372 Handle<Object> data); 372 Handle<Object> data);
373 Handle<Context> GetDebugContext(); 373 Handle<Context> GetDebugContext();
374 void HandleDebugBreak(); 374 void HandleDebugBreak(
375 BreakInNonDebuggableFlag flag = DontBreakInNonDebuggable);
375 void ProcessDebugMessages(bool debug_command_only); 376 void ProcessDebugMessages(bool debug_command_only);
376 377
377 // Internal logic 378 // Internal logic
378 bool Load(); 379 bool Load();
379 void Break(Arguments args, JavaScriptFrame*); 380 void Break(Arguments args, JavaScriptFrame*);
380 void SetAfterBreakTarget(JavaScriptFrame* frame); 381 void SetAfterBreakTarget(JavaScriptFrame* frame);
381 382
382 // Scripts handling. 383 // Scripts handling.
383 Handle<FixedArray> GetLoadedScripts(); 384 Handle<FixedArray> GetLoadedScripts();
384 385
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 int call_argc = -1); 761 int call_argc = -1);
761 762
762 static void PatchDebugBreakSlot(Address pc, Handle<Code> code); 763 static void PatchDebugBreakSlot(Address pc, Handle<Code> code);
763 static void ClearDebugBreakSlot(Address pc); 764 static void ClearDebugBreakSlot(Address pc);
764 }; 765 };
765 766
766 767
767 } } // namespace v8::internal 768 } } // namespace v8::internal
768 769
769 #endif // V8_DEBUG_DEBUG_H_ 770 #endif // V8_DEBUG_DEBUG_H_
OLDNEW
« no previous file with comments | « no previous file | src/debug/debug.cc » ('j') | src/execution.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698