Debugger API¶
- The
Debugger
Interface - The Debugger Object
new Debugger([global, ...])
- Accessor Properties of the Debugger Prototype Object
- Debugger Handler Functions
- Function Properties of the Debugger Prototype Object
addDebuggee(global)
addAllGlobalsAsDebuggees()
removeDebuggee(global)
removeAllDebuggees()
hasDebuggee(global)
getDebuggees()
getNewestFrame()
findSources()
findScripts([query])
findSourceURLs()
findObjects([query])
clearBreakpoint(handler)
clearAllBreakpoints()
findAllGlobals()
makeGlobalObjectReference(global)
adoptDebuggeeValue(value)
adoptFrame(frame)
adoptSource(source)
- Static methods of the Debugger Object
- Debugger.Object
- Accessor Properties of the Debugger.Object prototype
proto
class
callable
name
displayName
parameterNames
script
environment
isError
errorMessageName
errorLineNumber
errorColumnNumber
isBoundFunction
isArrowFunction
isGeneratorFunction
isAsyncFunction
isClassConstructor
isPromise
boundTargetFunction
boundThis
boundArguments
isProxy
proxyTarget
proxyHandler
promiseState
promiseValue
promiseReason
promiseAllocationSite
promiseResolutionSite
promiseID
promiseDependentPromises
promiseLifetime
promiseTimeToResolution
allocationSite
- Function Properties of the Debugger.Object prototype
getProperty(key, [receiver])
setProperty(key, value<, [receiver])
getOwnPropertyDescriptor(key)
getOwnPropertyNames()
getOwnPropertySymbols()
defineProperty(key, attributes)
defineProperties(properties)
deleteProperty(key)
seal()
freeze()
preventExtensions()
isSealed()
isFrozen()
isExtensible()
makeDebuggeeValue(value)
makeDebuggeeNativeFunction(value)
isSameNative(value)
decompile([pretty])
call(this, argument, ...)
apply(this, arguments)
executeInGlobal(code, [options])
executeInGlobalWithBindings(code, bindings, [options])
createSource(options)
asEnvironment()
unwrap()
unsafeDereference()
forceLexicalInitializationByName(binding)
getPromiseReactions
- Accessor Properties of the Debugger.Object prototype
- Debugger.Script
- Debugger.Script for JSScripts
- Debugger.Script for WebAssembly
- Convention
- Accessor Properties of the Debugger.Script Prototype Object
- Function Properties of the Debugger.Script Prototype Object
getChildScripts()
getPossibleBreakpoints(query)
getPossibleBreakpointOffsets(query)
getOffsetMetadata(offset)
setBreakpoint(offset, handler)
getBreakpoints([offset])
clearBreakpoint(handler, [offset])
clearAllBreakpoints([offset])
getEffectfulOffsets()
getOffsetsCoverage()
:isInCatchScope([offset])
- Deprecated Debugger.Script Prototype Functions
- Debugger.Source
- Debugger.Environment
- Debugger.Frame
- Debugger.Memory
- General Conventions
- Tutorial: Show Allocations Per Call Path
- Tutorial: Set a breakpoint using
Debugger
- Tutorial: Evaluate an Expression When a debugger; Statement Is Executed