-
Notifications
You must be signed in to change notification settings - Fork 31.1k
Runtime debugging
Robo edited this page Mar 18, 2025
·
1 revision
When a window (renderer process) is unresponsive the devtools might be unable to collect the required cpu profile. A reliable way to profile in such cases is with the tracing infra using the steps below,
- Restart VS Code with the following flags
--trace --trace-category-filter="renderer,blink,v8,disabled-by-default-v8.cpu_profiler"
- Once the unresponsive dialog pop ups, click on the
Reopen
button - In the new window, execute "F1 > Developer: Stop Tracing"
This will generate a trace json file which can be loaded into any of the following clients that supports the Google's Trace Event format
- chrome://tracing in any chromium browser
- ui.perfetto.dev
- Firefox profiler
Project Management
- Roadmap
- Iteration Plans
- Development Process
- Issue Tracking
- Build Champion
- Release Process
- Running the Endgame
- Related Projects
Contributing
- How to Contribute
- Submitting Bugs and Suggestions
- Feedback Channels
- Source Code Organization
- Coding Guidelines
- Testing
- Dealing with Test Flakiness
- Contributor License Agreement
- Extension API Guidelines
- Accessibility Guidelines
Documentation