嵌入了CEF的调试应用程序不断询问Debugger_win.cc

时间:2018-06-19 18:09:49

标签: c++ qt chromium-embedded

我有一个简单的Qt应用程序,它使用CEF作为嵌入式浏览器
这是Qt App:
https://github.com/tishion/QCefView
一切都很好,但是当它接近CEF时 初始化 它要求我提供CEF源代码中没有的Debugger_win.cc。
我的问题是我该如何预防?
这是引发异常的代码:

  // Execute
  int _retval = cef_initialize(
      &args, &settings, CefAppCppToC::Wrap(application), windows_sandbox_info);
enter code here

  // Return type: bool   

在:d:\Dev\my\cpp\cef\cef_binary_3.3396.1775.g5340bb0_windows32.tar\cef_binary_3.3396.1775.g5340bb0_windows32\libcef_dll\wrapper\libcef_dll_wrapper.cc

这是VS 2017中的外观: enter image description here

同样的输出是:

'QCefViewTest.exe' (Win32): Loaded 'D:\Dev\my\cpp\cef\Qt\QCefView-master\QCefViewSDK\bin\Debug\QCefViewTest.exe'. Symbols loaded.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\kernel32.dll'
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\win32u.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32full.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp_win.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbase.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shell32.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\SHCore.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\combase.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\windows.storage.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shlwapi.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel.appcore.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\powrprof.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\profapi.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Qt\Qt-5.11.0\bin\Qt5Cored.dll'. Symbols loaded.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ws2_32.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ole32.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Qt\Qt-5.11.0\bin\Qt5Guid.dll'. Symbols loaded.
'QCefViewTest.exe' (Win32): Loaded 'C:\Qt\Qt-5.11.0\bin\Qt5Widgetsd.dll'. Symbols loaded.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp140d.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'D:\Dev\my\cpp\cef\Qt\QCefView-master\QCefViewSDK\bin\Debug\QCefView.dll'. Symbols loaded.
'QCefViewTest.exe' (Win32): Unloaded 'D:\Dev\my\cpp\cef\Qt\QCefView-master\QCefViewSDK\bin\Debug\QCefView.dll'
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbased.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\ucrtbased.dll'
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\mpr.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\netapi32.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\userenv.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\version.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmm.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\vcruntime140d.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbased.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\ucrtbased.dll'
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbased.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\ucrtbased.dll'
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\uxtheme.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dwmapi.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbased.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\ucrtbased.dll'
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbased.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\ucrtbased.dll'
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmmbase.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbased.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\ucrtbased.dll'
'QCefViewTest.exe' (Win32): Loaded 'D:\Dev\my\cpp\cef\Qt\QCefView-master\QCefViewSDK\bin\Debug\QCefView.dll'. Symbols loaded.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbased.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'D:\Dev\my\cpp\cef\Qt\QCefView-master\QCefViewSDK\bin\Debug\libcef.dll'. Symbols loaded.
'QCefViewTest.exe' (Win32): Unloaded 'D:\Dev\my\cpp\cef\Qt\QCefView-master\QCefViewSDK\bin\Debug\libcef.dll'
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\netutils.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\srvcli.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'D:\Dev\my\cpp\cef\Qt\QCefView-master\QCefViewSDK\bin\Debug\libcef.dll'. Symbols loaded.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\comdlg32.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\oleaut32.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.15063.413_none_55bc94a37c2a2854\comctl32.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\psapi.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\wintrust.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msasn1.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\secur32.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\crypt32.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\imm32.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\oleacc.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\hid.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'D:\Dev\my\cpp\cef\Qt\QCefView-master\QCefViewSDK\bin\Debug\chrome_elf.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Unloaded 'D:\Dev\my\cpp\cef\Qt\QCefView-master\QCefViewSDK\bin\Debug\chrome_elf.dll'
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dbghelp.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\usp10.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winspool.drv'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\credui.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\credui.dll'
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\propsys.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptui.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\IPHLPAPI.DLL'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dhcpcsvc.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\nsi.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ncrypt.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\urlmon.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\DWrite.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winhttp.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\d3d11.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\wtsapi32.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\d3d9.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\d3d9.dll'
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dxva2.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcrypt.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntasn1.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dxgi.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\iertutil.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'D:\Dev\my\cpp\cef\Qt\QCefView-master\QCefViewSDK\bin\Debug\chrome_elf.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\credui.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\d3d9.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\samcli.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Qt\Qt-5.11.0\plugins\platforms\qwindowsd.dll'. Symbols loaded.
'QCefViewTest.exe' (Win32): Unloaded 'C:\Qt\Qt-5.11.0\plugins\platforms\qwindowsd.dll'
'QCefViewTest.exe' (Win32): Loaded 'C:\Qt\Qt-5.11.0\plugins\platforms\qwindowsd.dll'. Symbols loaded.
'QCefViewTest.exe' (Win32): Loaded 'C:\Qt\Qt-5.11.0\plugins\styles\qwindowsvistastyled.dll'. Symbols loaded.
'QCefViewTest.exe' (Win32): Unloaded 'C:\Qt\Qt-5.11.0\plugins\styles\qwindowsvistastyled.dll'
'QCefViewTest.exe' (Win32): Loaded 'C:\Qt\Qt-5.11.0\plugins\styles\qwindowsvistastyled.dll'. Symbols loaded.
[0620/004518.921:WARNING:resource_bundle.cc(346)] locale_file_path.empty() for locale 
[0620/004518.923:ERROR:main_delegate.cc(710)] Could not load locale pak for en-US
[0620/004518.923:ERROR:main_delegate.cc(717)] Could not load cef.pak
[0620/004518.924:ERROR:main_delegate.cc(734)] Could not load cef_100_percent.pak
[0620/004518.924:ERROR:main_delegate.cc(743)] Could not load cef_200_percent.pak
[0620/004518.924:ERROR:main_delegate.cc(753)] Could not load cef_extensions.pak
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msctf.dll'. Cannot find or open the PDB file.
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\nlaapi.dll'. Cannot find or open the PDB file.
The thread 0x3684 has exited with code 0 (0x0).
'QCefViewTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dhcpcsvc6.dll'. Cannot find or open the PDB file.
[0620/004519.005:ERROR:content_client.cc(276)] No data resource available for id 101
[0620/004519.005:FATAL:service_manager_context.cc(213)] Check failed: !contents.empty(). 

0 个答案:

没有答案