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

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

Issue 1703453002: [interpreter, debugger] support debug breaks via bytecode array copy (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 4 years, 10 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 | « src/compiler/bytecode-graph-builder.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 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 v8::Debug::ClientData* client_data = NULL); 424 v8::Debug::ClientData* client_data = NULL);
425 MUST_USE_RESULT MaybeHandle<Object> Call(Handle<Object> fun, 425 MUST_USE_RESULT MaybeHandle<Object> Call(Handle<Object> fun,
426 Handle<Object> data); 426 Handle<Object> data);
427 Handle<Context> GetDebugContext(); 427 Handle<Context> GetDebugContext();
428 void HandleDebugBreak(); 428 void HandleDebugBreak();
429 void ProcessDebugMessages(bool debug_command_only); 429 void ProcessDebugMessages(bool debug_command_only);
430 430
431 // Internal logic 431 // Internal logic
432 bool Load(); 432 bool Load();
433 void Break(Arguments args, JavaScriptFrame*); 433 void Break(Arguments args, JavaScriptFrame*);
434 void SetAfterBreakTarget(JavaScriptFrame* frame); 434 Object* SetAfterBreakTarget(JavaScriptFrame* frame);
435 435
436 // Scripts handling. 436 // Scripts handling.
437 Handle<FixedArray> GetLoadedScripts(); 437 Handle<FixedArray> GetLoadedScripts();
438 438
439 // Break point handling. 439 // Break point handling.
440 bool SetBreakPoint(Handle<JSFunction> function, 440 bool SetBreakPoint(Handle<JSFunction> function,
441 Handle<Object> break_point_object, 441 Handle<Object> break_point_object,
442 int* source_position); 442 int* source_position);
443 bool SetBreakPointForScript(Handle<Script> script, 443 bool SetBreakPointForScript(Handle<Script> script,
444 Handle<Object> break_point_object, 444 Handle<Object> break_point_object,
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
791 Handle<Code> code); 791 Handle<Code> code);
792 static bool DebugBreakSlotIsPatched(Address pc); 792 static bool DebugBreakSlotIsPatched(Address pc);
793 static void ClearDebugBreakSlot(Isolate* isolate, Address pc); 793 static void ClearDebugBreakSlot(Isolate* isolate, Address pc);
794 }; 794 };
795 795
796 796
797 } // namespace internal 797 } // namespace internal
798 } // namespace v8 798 } // namespace v8
799 799
800 #endif // V8_DEBUG_DEBUG_H_ 800 #endif // V8_DEBUG_DEBUG_H_
OLDNEW
« no previous file with comments | « src/compiler/bytecode-graph-builder.cc ('k') | src/debug/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698