30#ifndef V8_INSPECTOR_V8_DEBUGGER_SCRIPT_H_
31#define V8_INSPECTOR_V8_DEBUGGER_SCRIPT_H_
48class V8DebuggerAgentImpl;
49class V8InspectorClient;
54 static std::unique_ptr<V8DebuggerScript>
Create(
86 bool allowTopFrameLiveEditing,
91 bool ignoreNestedFunctions,
92 std::vector<v8::debug::BreakLocation>* locations) = 0;
103#if V8_ENABLE_WEBASSEMBLY
105 virtual std::vector<v8::debug::WasmScript::DebugSymbols> getDebugSymbols()
107 void removeWasmBreakpoint(
int id);
109 std::vector<int>* function_body_offsets)
const = 0;
virtual v8::Local< v8::debug::Script > script() const =0
const String16 & embedderName() const
virtual int codeOffset() const =0
virtual v8::Maybe< int > offset(int lineNumber, int columnNumber) const =0
virtual String16 source(size_t pos, size_t len=UINT_MAX) const =0
virtual const String16 & hash() const =0
static std::unique_ptr< V8DebuggerScript > Create(v8::Isolate *isolate, v8::Local< v8::debug::Script > script, bool isLiveEdit, V8DebuggerAgentImpl *agent, V8InspectorClient *client)
virtual const String16 & sourceMappingURL() const =0
virtual void MakeWeak()=0
virtual bool isLiveEdit() const =0
const String16 & scriptId() const
V8DebuggerScript & operator=(const V8DebuggerScript &)=delete
V8DebuggerScript(const V8DebuggerScript &)=delete
virtual bool setBreakpoint(const String16 &condition, v8::debug::Location *location, int *id) const =0
virtual Language getLanguage() const =0
virtual int startColumn() const =0
virtual int endColumn() const =0
virtual int length() const =0
virtual int startLine() const =0
virtual bool isModule() const =0
virtual bool getPossibleBreakpoints(const v8::debug::Location &start, const v8::debug::Location &end, bool ignoreNestedFunctions, std::vector< v8::debug::BreakLocation > *locations)=0
virtual String16 buildId() const =0
virtual int endLine() const =0
virtual bool setInstrumentationBreakpoint(int *id) const =0
virtual void setSource(const String16 &source, bool preview, bool allowTopFrameLiveEditing, v8::debug::LiveEditResult *result)=0
bool hasSourceURLComment() const
const String16 & sourceURL() const
void setSourceURL(const String16 &)
int executionContextId() const
bool m_hasSourceURLComment
v8::Local< v8::debug::ScriptSource > scriptSource()
virtual v8::debug::Location location(int offset) const =0
virtual void resetBlackboxedStateCache()=0
virtual void setSourceMappingURL(const String16 &)=0
virtual ~V8DebuggerScript()
ZoneVector< RpoNumber > & result