[Qtwebengine] Debugging QtWebEngine in MSVC 2013

Koehne Kai Kai.Koehne at theqtcompany.com
Wed Mar 2 12:52:41 CET 2016



> -----Original Message-----
> From: QtWebEngine [mailto:qtwebengine-
> bounces+kai.koehne=theqtcompany.com at qt-project.org] On Behalf Of
> Aleksey Yermakov
> Sent: Wednesday, March 02, 2016 12:35 PM
> To: qtwebengine at qt-project.org
> Subject: [Qtwebengine] Debugging QtWebEngine in MSVC 2013
> 
> Hi,
> 
> I'm trying to debug application cache related crash in QtWebEngine but
> MSVC2013 tells me there is no debug symbols for Chromium code.
> 
> I can step into Qt code just fine, but Chromium code is unavailable. I'm not
> sure, but I think maybe chromium symbols are stripped from pdb.
> 
> Is there a way to fix this? Manually reconfigure chromium build process
> perhaps?

We consciously disabled debugging symbols on MSVC 32 bit to avoid spurious Out Of Memory linker errors (commit 7fc3024a16af6e96b6391b0dc19d6b5887372d05). 

The best workaround is to build with MSVC 64 bit :) If you want to nevertheless try to build 32 bit with debugging symbols, you can revert the commit, or just comment out 

	GYP_CONFIG += fastbuild=2

in src/core/config/windows.pri. Then delete .qmake.cache and configure again.

Regards

Kai

PS: Task for this was https://bugreports.qt.io/browse/QTBUG-49545




More information about the QtWebEngine mailing list