# ferroui_diagnostics

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-diagnostics/

**module** · [`ferroui-diagnostics`](/docs/0.5.0/api/ferroui-diagnostics/) · v0.5.0

```rust
module ferroui_diagnostics
```

ferroui-diagnostics

The developer tools of FerroUI, a port of the last open-source version of
upstream's developer tools (docs/porting/DEVIATIONS.md, Developer tools): a window that
shows the logical and visual trees of a running application, the
properties of the selected control with their value sources and
priorities, the styles and setters that apply to it, its layout, the
routed events as they travel, and takes screenshots. It opens on F12 in
a window or an application it is attached to ([`DevToolsExtensions`](/docs/0.5.0/api/ferroui-diagnostics/trait-devtoolsextensions/)).

```ignore
window.attach_dev_tools();
```

The window has the WinUI 3 theme of the port in its compact density
(`ferroui-themes-winui`), where upstream has the Simple theme. The logical
and visual trees, the tree of the routed events and the property grid of
the control details are built on the TreeDataGrid of the port, where
upstream has tree views and a copy of DataGrid compiled into its project
(docs/porting/DEVIATIONS.md, Developer tools).

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/lib.rs#L1)

## Contents

- [`diagnostics`](/docs/0.5.0/api/ferroui-diagnostics/diagnostics/) — module
- [`register_types`](/docs/0.5.0/api/ferroui-diagnostics/function-register_types/) — function
- [`ASSEMBLY`](/docs/0.5.0/api/ferroui-diagnostics/static-assembly/) — static
- [`DevToolsExtensions`](/docs/0.5.0/api/ferroui-diagnostics/trait-devtoolsextensions/) — trait
- [`DevToolsTopLevelExtensions`](/docs/0.5.0/api/ferroui-diagnostics/trait-devtoolstoplevelextensions/) — trait

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
