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

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

Issue 2728563002: [inspector] added type of break location into getPossibleBreakpoints output (Closed)
Patch Set: fixed compilation 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
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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
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, bool restrict_to_function, 315 int end_position, bool restrict_to_function,
316 std::set<int>* positions); 316 std::vector<BreakLocation>* locations);
317 317
318 void RecordGenerator(Handle<JSGeneratorObject> generator_object); 318 void RecordGenerator(Handle<JSGeneratorObject> generator_object);
319 319
320 void RunPromiseHook(PromiseHookType type, Handle<JSPromise> promise, 320 void RunPromiseHook(PromiseHookType type, Handle<JSPromise> promise,
321 Handle<Object> parent); 321 Handle<Object> parent);
322 322
323 int NextAsyncTaskId(Handle<JSObject> promise); 323 int NextAsyncTaskId(Handle<JSObject> promise);
324 324
325 bool IsBlackboxed(Handle<SharedFunctionInfo> shared); 325 bool IsBlackboxed(Handle<SharedFunctionInfo> shared);
326 326
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
789 Handle<Code> code); 789 Handle<Code> code);
790 static bool DebugBreakSlotIsPatched(Address pc); 790 static bool DebugBreakSlotIsPatched(Address pc);
791 static void ClearDebugBreakSlot(Isolate* isolate, Address pc); 791 static void ClearDebugBreakSlot(Isolate* isolate, Address pc);
792 }; 792 };
793 793
794 794
795 } // namespace internal 795 } // namespace internal
796 } // namespace v8 796 } // namespace v8
797 797
798 #endif // V8_DEBUG_DEBUG_H_ 798 #endif // V8_DEBUG_DEBUG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698