# Editor.DevToolsDock

Dev tools (`devtools`, F11) in an editor dock. In the editor they live here rather than in a window of their
own: the dock draws the same panels on a `T:Editor.PanelSurfaceWidget`, and opening dev tools opens this dock.
They count as open while the dock is on screen, so the data behind them is only collected while someone can see it.

- Kind: class
- Namespace: `Editor`
- Assembly: `Sandbox.Tools`
- Inherits: [Editor.Widget](/api/Editor.Widget)

## Constructors

- [`DevToolsDock`](/api/Editor.DevToolsDock/.ctor)

## Methods

- [`Frame`](/api/Editor.DevToolsDock/Frame): The surface only draws while it's visible, so notice here when it stops - the dock closed, or another tab in its group came to the front - and let dev tools stop collecting.
- [`OnDestroyed`](/api/Editor.DevToolsDock/OnDestroyed)
