Advanced Debugging Tools
Last Update: 2023-7-18
This guide provides an extensive list of accelerators for debugging Ash on FydeOS. These shortcuts are invaluable for developers testing and submitting patches to Ash, offering quick access to toggle features and streamline the debugging process. For a visual walkthrough, check out our accompanying YouTube video.
Activating the Ash Debug Shortcuts
- Open the Chromium Browser and enter
chrome://flags/#ash-debug-shortcuts
in the address bar. - Enable the
ash-debug-shortcuts
option.
Debugging Shortcuts Overview
Feature | Shortcut Key | Description |
---|---|---|
Wi-Fi Toggle | Ctrl + Shift + Alt + N | Quickly turn Wi-Fi ON or OFF. |
Toast Test Message | Ctrl + Shift + Alt + O | Display a brief test message at the screenโs bottom. |
Touchscreen Toggle | Shift + Search + T | Enable or disable the touchscreen. Useful for troubleshooting ghost touch issues. |
Touchpad Toggle | Shift + Search + P | Enable or disable the touchpad. Prevents interference with keyboard typing. |
Tablet Mode Toggle | Ctrl + Alt + Shift + T | Switch between tablet and desktop modes. Note: An external mouse will override tablet mode. |
Wallpaper Debug Toggle | Ctrl + Alt + B | Replace the current wallpaper with a test image for background logic testing. |
HUD Display Toggle | Ctrl + Alt + Shift + G | Display a minimal HUD with a CPU usage graph. A downward graph indicates increased CPU usage. |
FPS Counter Toggle | Ctrl + Alt + Shift + F | Add a HUD displaying the current frame rate, GPU rasterization throughput status, and GPU memory usage. |
UI Debug Borders Toggle | Ctrl + Alt + Shift + B | Render borders on components and color the application windowโs view in rainbow hues. |
Native Display Resolution Scaling Toggle | Ctrl + Alt + Shift + P | Quickly toggle the display scaling to the native display resolution. |
Component Rectangles Toggle | Ctrl + Alt + Shift + D | Paint rectangles on UI components based on cursor location. Useful for visualizing widget and hit-test area relationships. |
Force a Crash | Ctrl + Alt + Shift + K | Crashes your session. Use with caution! |
Layer Hierarchy Logging | Ctrl + Alt + Shift + L | Add layer hierarchy information to the developer logs. No noticeable effect. |
View Hierarchy Logging | Ctrl + Alt + Shift + V | Add print view hierarchy information to the developer logs. No noticeable effect. |
Window Hierarchy Logging | Ctrl + Alt + Shift + W | Add print window hierarchy information to the developer logs. No noticeable effect. |
These shortcuts are designed to enhance your debugging experience and make it easier to test and submit patches to Ash on FydeOS. Happy debugging!