Updates needed for debugger docs

NEW
Unassigned

Status

DevTools
Debugger
P3
enhancement
5 years ago
6 days ago

People

(Reporter: benvie, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [debugger-docs-needed])

(Reporter)

Description

5 years ago
I just did an inventory comparing what's actually implemented to what DebuggerDocs claims. There's a handful of undocumented things, a number of things that are unimplemented but not noted as so, and one discrepancy. We should try to keep the docs as close as possible to the implementation.

Debugger
undocumented
* removeAllDebuggees
* addAllGlobalsAsDebuggees
unimplemented
* onThrow
* onError
* findScriptURLs
* clearBreakpoint
* clearAllWatchpoints


Debugger.Frame
unimplemented
* onResume
* get depth
* pop
* replaceCall


Debugger.Script
undocumented
* get source
* get sourceStart
* get sourceLength
unimplemented
* get strictMode
* decompile
discrepencies
* clearBreakpoint <-> clearBreakpoints


Debugger.Object
unimplemented
* get proxyHandler
* get proxyCallTrap
* get proxyConstructTrap
* get hostAnnotations
* getProperty
* setProperty
* copy
* create
* decompile
* asEnvironment
* setObjectWatchpoint
* clearObjectWatchpoint
* setPropertyWatchPoint
* clearPropertyWatchpoint
Whiteboard: [debugger-docs-needed]

Comment 1

5 years ago
Wow, thanks for the audit! This is really helpful.

I can't get to this today. :( But I will go after it as soon as I can.
Priority: -- → P3

Updated

4 years ago
Summary: Updates needed for DebuggerDocs → Updates needed for debugger docs

Comment 2

3 years ago
Unfortunately, the docs are still claiming support for features that weren't implemented - I wasted quite a bit of time on this. It would already help if the docs in MDN reflected the latest state of the documentation in the source code.

Updated

7 months ago
Severity: normal → enhancement

Updated

6 days ago
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.