Debugging Chrome

この記事はまだ日本語に翻訳されていません。MDN の翻訳はボランティアによって行われています。是非 MDN に登録し、私たちの力になって下さい。

--disable-accelerated-2d-canvas will disable GPU canvas


Google has a page on using PIX on Chrome. Unfortunately, it requires using --single-process which crashes on startup for me.

To work around this I was able to record the GPU commands using apitrace. I copied the d3d9.dll into both C:\Users\jrmuizel\AppData\Local\Google\Chrome SxS\Application\22.0.1186.0 and C:\Users\jrmuizel\AppData\Local\Google\Chrome SxS\Application\. I'm not sure which is needed. I did TRACE_FILE=foo.txt and it created the trace file in "C:\Users\jrmuizel\AppData\Local\Google\Chrome SxS\Application\22.0.1183.0\foo.txt".  I needed to run Chrome using --no-sandbox.  I was then able to run PIX on d3dretrace.

Document Tags and Contributors

Contributors to this page: jrmuizel
最終更新者: jrmuizel,