The Chromium Visual Debugger App is the viewer for the debug stream from a (remote) chromium instance. For information on the chromium integration of debug capture see: //components/viz/service/debugger/README.md
To use the Visual Debugger, Chromium must be launch with remote debugging support.
$ ./chrome --remote-debugging-port=7777 --remote-allow-origins=*
To launch the Debugging App simply run the python server from this directory. The default port is 7777.
$ tools/visual_debugger/server.py [portnumber]
This command will also launch the debugger as a Web App in a separate instance of the default browser.
In official builds (is_official_build=true
gn arg) the debugger is disabled by default but can be force enabled locally with the flag below in args.gn.
use_viz_debugger=true
In order to connect to an Android device it must be launched with the args above and connected via USB to your development machine. Android ADB can then be setup to forward Chrome Devtools Protocol to the remote port, for example if you used --remote-debugging-port=7777
when launching Chrome you would run the following.
$ adb forward tcp:7777 localabstract:chrome_devtools_remote
Once the Debugging App launches one should be able to simply click Connect to establish a remote debugging stream to the live instance of chromium.
The in App filters frame.root.quad
and frame.root.damage
have been provided by default to give immediate feedback and intuition. The debug macros corresponding to these filters, and all others, can be found directly in the source.
The debugging macros feed information into the VizDebugger static instance. At the end of each frame this cached information is fed upstream and eventually reaches the remote client.
The Debugger App preforms nominally in most basic debugging situations. Excessive debug logging, specifically text, can make the App feel sluggish. It is recommended to delete unused filters and disable filters to improve App performance.
For official builds all visual debug macros end up as chrome traces. This means there are minimal security concerns for this system with exception of mutable side effects in the creation of input variables to the logging macros. These concerns for mutable side effects already exist for any other code; so no special attention is warranted for these macros.
For non-official (debug) builds the dev-tools remote debugging port command line argument must be provided for the viz debugger to collect and stream data. Thus the security of this new system is identical to that of the remote dev tools for the case of debugging builds.
For official builds the visual debugger is disabled but the logging feeds into the chrome tracing system. This visual debugger specific tracing is reported with the ‘viz.visual_debugger’ tracing category. These traces can be imported into the visual debugger using the import trace button.
The overhead of these optional traces has been evaluated and the cost has been found to be acceptable. Trace Macro Overhead in Official Builds
明年是什么生肖 | gbs是什么意思 | 眼睛不好吃什么补眼睛 | 眼睛痛用什么药 | 须眉什么意思 |
空挡是什么意思 | 不举是什么原因造成的 | 孕育是什么意思 | 为什么不结婚 | o型血为什么叫贵族血 |
宫颈糜烂用什么药比较好 | 膳食是什么 | 阿胶补血口服液适合什么人喝 | 7月14号是什么星座 | 做书桌用什么板材好 |
naco3是什么 | 查验是什么意思 | 空蝶鞍是什么意思 | 3.13是什么星座 | 天衣无缝是什么意思 |
白目是什么意思hlguo.com | 肺炎吃什么药好得快hcv9jop1ns2r.cn | 无菌性前列腺炎吃什么药效果好hcv9jop1ns7r.cn | 宫颈管分离是什么意思helloaicloud.com | 拉屎黑色的是什么原因hcv9jop7ns9r.cn |
肺部肿瘤切除后吃什么hcv7jop5ns6r.cn | 梦见杀蛇是什么预兆hcv7jop6ns3r.cn | 头皮发痒是什么原因引起的hcv8jop3ns5r.cn | 尿蛋白定量高说明什么hcv8jop9ns9r.cn | 虎口长痣代表什么hcv8jop9ns0r.cn |
蚝油是干什么用的hcv7jop6ns1r.cn | 拉肚子拉水是什么原因hcv8jop7ns1r.cn | 血热吃什么药快速见效hcv9jop6ns7r.cn | 不置可否什么意思hcv9jop1ns9r.cn | 妊娠是什么意思啊hcv9jop6ns6r.cn |
胎盘低置是什么原因造成的hcv8jop2ns7r.cn | 75年的兔是什么命hcv9jop2ns1r.cn | 蒟蒻是什么意思hcv8jop5ns6r.cn | 王玉是什么字hcv9jop1ns2r.cn | 怀孕第一个月最怕什么hcv7jop6ns0r.cn |