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

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

Issue 2710953004: [inspector] added restrictToFunction flag for getPossibleBreakpoints (Closed)
Patch Set: addressed comments Created 3 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/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/assembler.h" 9 #include "src/assembler.h"
10 #include "src/base/atomicops.h" 10 #include "src/base/atomicops.h"
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 // Stepping handling. 305 // Stepping handling.
306 void PrepareStep(StepAction step_action); 306 void PrepareStep(StepAction step_action);
307 void PrepareStepIn(Handle<JSFunction> function); 307 void PrepareStepIn(Handle<JSFunction> function);
308 void PrepareStepInSuspendedGenerator(); 308 void PrepareStepInSuspendedGenerator();
309 void PrepareStepOnThrow(); 309 void PrepareStepOnThrow();
310 void ClearStepping(); 310 void ClearStepping();
311 void ClearStepOut(); 311 void ClearStepOut();
312 312
313 bool PrepareFunctionForBreakPoints(Handle<SharedFunctionInfo> shared); 313 bool PrepareFunctionForBreakPoints(Handle<SharedFunctionInfo> shared);
314 bool GetPossibleBreakpoints(Handle<Script> script, int start_position, 314 bool GetPossibleBreakpoints(Handle<Script> script, int start_position,
315 int end_position, std::set<int>* positions); 315 int end_position, bool restrict_to_function,
316 std::set<int>* positions);
316 317
317 void RecordGenerator(Handle<JSGeneratorObject> generator_object); 318 void RecordGenerator(Handle<JSGeneratorObject> generator_object);
318 319
319 void RunPromiseHook(PromiseHookType type, Handle<JSPromise> promise, 320 void RunPromiseHook(PromiseHookType type, Handle<JSPromise> promise,
320 Handle<Object> parent); 321 Handle<Object> parent);
321 322
322 int NextAsyncTaskId(Handle<JSObject> promise); 323 int NextAsyncTaskId(Handle<JSObject> promise);
323 324
324 bool IsBlackboxed(Handle<SharedFunctionInfo> shared); 325 bool IsBlackboxed(Handle<SharedFunctionInfo> shared);
325 326
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 Handle<Code> code); 789 Handle<Code> code);
789 static bool DebugBreakSlotIsPatched(Address pc); 790 static bool DebugBreakSlotIsPatched(Address pc);
790 static void ClearDebugBreakSlot(Isolate* isolate, Address pc); 791 static void ClearDebugBreakSlot(Isolate* isolate, Address pc);
791 }; 792 };
792 793
793 794
794 } // namespace internal 795 } // namespace internal
795 } // namespace v8 796 } // namespace v8
796 797
797 #endif // V8_DEBUG_DEBUG_H_ 798 #endif // V8_DEBUG_DEBUG_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/debug/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698