Debugging with CEF embedded searching Debugger_win.cc

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Debugging with CEF embedded searching Debugger_win.cc

Postby umen » Tue Jun 19, 2018 1:50 pm

Debugging application with CEF embedded keep asking for Debugger_win.cc

i have simple Qt application which using CEF as embedded browser
this is the Qt App :
https://github.com/tishion/QCefView
Everything is compiling just fine but when it approaching to the CEF
initialization
it ask me for Debugger_win.cc which is not in CEF source code .
My Question is how i prevent it ?
This is the code in which the exception is thrown :

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

// Return type: bool

In : `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`

This is how it looks in VS:
cef_qt.PNG
qt and cef
cef_qt.PNG (67.34 KiB) Viewed 6216 times
umen
Newbie
 
Posts: 6
Joined: Wed Jun 13, 2012 2:22 pm

Re: Debugging with CEF embedded searching Debugger_win.cc

Postby magreenblatt » Tue Jun 19, 2018 2:02 pm

It looks like you're hitting a debug assertion in Chromium. What CEF version are you using? What CefSettings or command-line arguments are you using? What is the message shown in the output window? Does the problem reproduce in the cefclient sample application with the same CefSettings/command-line arguments?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Debugging with CEF embedded searching Debugger_win.cc

Postby umen » Tue Jun 19, 2018 4:47 pm

im using :
cef_binary_3.3396.1775.g5340bb0_windows32
cef_binary_3.3396.1775.g5340bb0_windows32_debug_symbols

The settings :
cef_settings.PNG
cef_settings.PNG (95.74 KiB) Viewed 6211 times


and this is the output window :
Code: Select all
'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().

umen
Newbie
 
Posts: 6
Joined: Wed Jun 13, 2012 2:22 pm

Re: Debugging with CEF embedded searching Debugger_win.cc

Postby magreenblatt » Tue Jun 19, 2018 5:06 pm

Look at the errors about missing pak files in your output. Do those files exist in the resources_dir_path and locales_dir_path that you specified?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Debugging with CEF embedded searching Debugger_win.cc

Postby umen » Tue Jun 19, 2018 11:34 pm

i have them all in here :
d:\Dev\my\cpp\cef\Qt\QCefView-master\QCefViewSDK\bin\Debug\resources\locales\

Code: Select all
am.pak
ar.pak
bg.pak
bn.pak
ca.pak
cs.pak
da.pak
de.pak
el.pak
en-GB.pak
en-US.pak
es.pak
es-419.pak
et.pak
fa.pak
fi.pak
fil.pak
fr.pak
gu.pak
he.pak
hi.pak
hr.pak
hu.pak
id.pak
it.pak
ja.pak
kn.pak
ko.pak
lt.pak
lv.pak
ml.pak
mr.pak
ms.pak
nb.pak
nl.pak
pl.pak
pt-BR.pak
pt-PT.pak
ro.pak
ru.pak
sk.pak
sl.pak
sr.pak
sv.pak
sw.pak
ta.pak
te.pak
th.pak
tr.pak
uk.pak
vi.pak
zh-CN.pak
zh-TW.pak


where did you see im missing pak files ?
umen
Newbie
 
Posts: 6
Joined: Wed Jun 13, 2012 2:22 pm

Re: Debugging with CEF embedded searching Debugger_win.cc

Postby magreenblatt » Wed Jun 20, 2018 11:22 am

umen wrote:[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
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Debugging with CEF embedded searching Debugger_win.cc

Postby magreenblatt » Wed Jun 20, 2018 11:24 am

umen wrote:i have them all in here :
d:\Dev\my\cpp\cef\Qt\QCefView-master\QCefViewSDK\bin\Debug\resources\locales\

That is not the path you have configured in CefSettings.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Debugging with CEF embedded searching Debugger_win.cc

Postby umen » Thu Jun 21, 2018 2:17 am

Thanks it helped ! :)
umen
Newbie
 
Posts: 6
Joined: Wed Jun 13, 2012 2:22 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 66 guests