| DebugAPI-inl.h |
static |
5468 |
100 % |
| DebugAPI.h |
DebugAPI::onNativeCall allows the debugger to call callbacks just before
some native functions are to be executed. It also allows the hooks
themselves to affect the result of the call. This enum represents the
various affects that DebugAPI::onNativeCall may perform.
|
17647 |
92 % |
| Debugger-inl.h |
static |
1145 |
100 % |
| Debugger.cpp |
|
245864 |
88 % |
| Debugger.h |
namespace JS |
63322 |
91 % |
| DebuggerMemory.cpp |
static |
12935 |
80 % |
| DebuggerMemory.h |
namespace js |
937 |
- |
| DebugScript.cpp |
static |
13292 |
90 % |
| DebugScript.h |
If this is a generator script, this is the number of Debugger.Frames
referring to calls to this generator, whether live or suspended. Closed
generators do not contribute a count.
When greater than zero, this script should be compiled with debug
instrumentation to call Debugger::onResumeFrame at each resumption site, so
that Debugger can reconnect any extant Debugger.Frames with the new
concrete frame.
|
5348 |
100 % |
| DebugSession.sys.mjs |
Debug session API built on top of the Debugger API.
Implements breakpoints by source location, pausing and stepping for a single
debuggee global. Everything that depends on the embedding must be provided by
the host object passed to the constructor:
createDebugger() Returns a new Debugger instance.
waitWhilePaused(isResumed) Blocks until isResumed() returns true, e.g. by
spinning a nested event loop.
serializeValue(value) Serializes a debuggee value (a Debugger.Object
or a primitive) for frame scope chains.
serializeUnavailableVariable(kind)
Serializes a scope variable without a value.
`kind` is "uninitialized", "missingArguments"
or "optimizedOut".
setDebuggerEnvironment(env) Called with {frame, global} for the innermost
pause, or null once no pause is active.
onPaused(pauseInfo) Called when a pause starts, with the location
and the call frames of the pause.
onResumed() Called when a pause ends.
log Optional object with warn(msg) and error(msg).
createError(kind, message) Returns the error to throw for an invalid use of
the session. `kind` is "not-enabled",
"invalid-argument" or "unknown".
This file is shared by WebDriver BiDi and the JS shell, so it must not use
any Gecko-specific APIs or JS shell testing functions.
|
23482 |
- |
| Environment-inl.h |
debugger_Environment_inl_h |
792 |
100 % |
| Environment.cpp |
static |
18522 |
91 % |
| Environment.h |
namespace js |
3322 |
86 % |
| ExecutionTracer.cpp |
|
46501 |
77 % |
| ExecutionTracer.h |
|
25496 |
89 % |
| Frame-inl.h |
debugger_Frame_inl_h |
814 |
100 % |
| Frame.cpp |
namespace jit |
71709 |
90 % |
| Frame.h |
An OnStepHandler represents a handler function that is called when a small
amount of progress is made in a frame.
|
13446 |
0 % |
| moz.build |
|
1502 |
- |
| NoExecute.cpp |
static |
3060 |
93 % |
| NoExecute.h |
namespace js |
2975 |
100 % |
| Object-inl.h |
debugger_Object_inl_h |
1457 |
100 % |
| Object.cpp |
|
85989 |
89 % |
| Object.h |
|
12044 |
90 % |
| Script-inl.h |
debugger_Script_inl_h |
1742 |
95 % |
| Script.cpp |
static |
55138 |
86 % |
| Script.h |
namespace js |
2232 |
0 % |
| Source.cpp |
static |
21199 |
92 % |
| Source.h |
namespace js |
1612 |
0 % |