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

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

Issue 2748503002: [inspector] changed a way of preserving stepping between tasks (Closed)
Patch Set: removed willExecuteScript from tests Created 3 years, 9 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/inspector/v8-debugger.cc » ('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/assembler.h" 9 #include "src/assembler.h"
10 #include "src/base/atomicops.h" 10 #include "src/base/atomicops.h"
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 void RecordGenerator(Handle<JSGeneratorObject> generator_object); 325 void RecordGenerator(Handle<JSGeneratorObject> generator_object);
326 326
327 void RunPromiseHook(PromiseHookType type, Handle<JSPromise> promise, 327 void RunPromiseHook(PromiseHookType type, Handle<JSPromise> promise,
328 Handle<Object> parent); 328 Handle<Object> parent);
329 329
330 int NextAsyncTaskId(Handle<JSObject> promise); 330 int NextAsyncTaskId(Handle<JSObject> promise);
331 331
332 bool IsBlackboxed(Handle<SharedFunctionInfo> shared); 332 bool IsBlackboxed(Handle<SharedFunctionInfo> shared);
333 333
334 void SetDebugDelegate(debug::DebugDelegate* delegate, bool pass_ownership); 334 void SetDebugDelegate(debug::DebugDelegate* delegate, bool pass_ownership);
335 void HandleCallCompleted();
335 336
336 // Returns whether the operation succeeded. 337 // Returns whether the operation succeeded.
337 bool EnsureDebugInfo(Handle<SharedFunctionInfo> shared); 338 bool EnsureDebugInfo(Handle<SharedFunctionInfo> shared);
338 void CreateDebugInfo(Handle<SharedFunctionInfo> shared); 339 void CreateDebugInfo(Handle<SharedFunctionInfo> shared);
339 static Handle<DebugInfo> GetDebugInfo(Handle<SharedFunctionInfo> shared); 340 static Handle<DebugInfo> GetDebugInfo(Handle<SharedFunctionInfo> shared);
340 341
341 template <typename C> 342 template <typename C>
342 bool CompileToRevealInnerFunctions(C* compilable); 343 bool CompileToRevealInnerFunctions(C* compilable);
343 344
344 // This function is used in FunctionNameUsing* tests. 345 // This function is used in FunctionNameUsing* tests.
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 Handle<Code> code); 800 Handle<Code> code);
800 static bool DebugBreakSlotIsPatched(Address pc); 801 static bool DebugBreakSlotIsPatched(Address pc);
801 static void ClearDebugBreakSlot(Isolate* isolate, Address pc); 802 static void ClearDebugBreakSlot(Isolate* isolate, Address pc);
802 }; 803 };
803 804
804 805
805 } // namespace internal 806 } // namespace internal
806 } // namespace v8 807 } // namespace v8
807 808
808 #endif // V8_DEBUG_DEBUG_H_ 809 #endif // V8_DEBUG_DEBUG_H_
OLDNEW
« no previous file with comments | « no previous file | src/debug/debug.cc » ('j') | src/inspector/v8-debugger.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698