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

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

Issue 2851853002: [inspector] entered into context before getPossibleBreakpoints call (Closed)
Patch Set: Created 3 years, 7 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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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_INTERFACE_H_ 5 #ifndef V8_DEBUG_DEBUG_INTERFACE_H_
6 #define V8_DEBUG_DEBUG_INTERFACE_H_ 6 #define V8_DEBUG_DEBUG_INTERFACE_H_
7 7
8 #include <functional> 8 #include <functional>
9 9
10 #include "include/v8-debug.h" 10 #include "include/v8-debug.h"
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 v8::debug::Location GetSourceLocation(int offset) const; 149 v8::debug::Location GetSourceLocation(int offset) const;
150 }; 150 };
151 151
152 // Specialization for wasm Scripts. 152 // Specialization for wasm Scripts.
153 class WasmScript : public Script { 153 class WasmScript : public Script {
154 public: 154 public:
155 static WasmScript* Cast(Script* script); 155 static WasmScript* Cast(Script* script);
156 156
157 int NumFunctions() const; 157 int NumFunctions() const;
158 int NumImportedFunctions() const; 158 int NumImportedFunctions() const;
159 Maybe<int> ContextId() const;
159 160
160 std::pair<int, int> GetFunctionRange(int function_index) const; 161 std::pair<int, int> GetFunctionRange(int function_index) const;
161 162
162 debug::WasmDisassembly DisassembleFunction(int function_index) const; 163 debug::WasmDisassembly DisassembleFunction(int function_index) const;
163 }; 164 };
164 165
165 void GetLoadedScripts(Isolate* isolate, PersistentValueVector<Script>& scripts); 166 void GetLoadedScripts(Isolate* isolate, PersistentValueVector<Script>& scripts);
166 167
167 MaybeLocal<UnboundScript> CompileInspectorScript(Isolate* isolate, 168 MaybeLocal<UnboundScript> CompileInspectorScript(Isolate* isolate,
168 Local<String> source); 169 Local<String> source);
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 ~Coverage(); 291 ~Coverage();
291 292
292 private: 293 private:
293 explicit Coverage(i::Coverage* coverage) : coverage_(coverage) {} 294 explicit Coverage(i::Coverage* coverage) : coverage_(coverage) {}
294 i::Coverage* coverage_; 295 i::Coverage* coverage_;
295 }; 296 };
296 } // namespace debug 297 } // namespace debug
297 } // namespace v8 298 } // namespace v8
298 299
299 #endif // V8_DEBUG_DEBUG_INTERFACE_H_ 300 #endif // V8_DEBUG_DEBUG_INTERFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698