cefclient doesn't work in debug mode

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.

cefclient doesn't work in debug mode

Postby biomerge » Tue Nov 05, 2019 2:55 am

Hi,

I downloaded the latest 64-bit chromium version (CEF 78.2.10+g942899d+chromium-78.0.3904.70 / Chromium 78.0.3904.70) and I encounter a problem with sample project cefclient. It works perfectly fine in release mode, but doesn't work in debug mode. See attachments for the difference between both modes. It's not a hard crash, but rather the fact that the webpage doesn't load in debug mode. The older CEF version (CEF 77.1.18+g8e8d602+chromium-77.0.3865.120 / Chromium 77.0.3865.120) didn't have that problem.

Any idea what's going on here? I work on a 4k laptop with Windows 10 version 1803.
Attachments
cefclient_release.png
cefclient_release.png (33.5 KiB) Viewed 4141 times
cefclient_debug.png
cefclient_debug.png (7.6 KiB) Viewed 4141 times
biomerge
Techie
 
Posts: 13
Joined: Tue Oct 29, 2019 2:40 am

Re: cefclient doesn't work in debug mode

Postby Czarek » Tue Nov 05, 2019 4:13 am

Any errors in log files?
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

Re: cefclient doesn't work in debug mode

Postby biomerge » Tue Nov 05, 2019 5:16 am

Czarek wrote:Any errors in log files?

Yes! Thanks for making me aware of that. From debug.log:

Code: Select all
[1105/110618.963:INFO:content_main_runner_impl.cc(959)] Chrome is running in full browser mode.
[1105/110619.220:WARNING:angle_platform_impl.cc(52)] initializeD3DDevice(721): Failed creating Debug D3D11 device - falling back to release runtime.
[1105/110619.288:FATAL:dwrite_font_proxy_init_impl_win.cc(94)] Check failed: fallback_available == base::win::GetVersion() > base::win::Version::WIN8 (1 vs. 0)
[1105/110619.314:FATAL:dwrite_font_proxy_init_impl_win.cc(94)] Check failed: fallback_available == base::win::GetVersion() > base::win::Version::WIN8 (1 vs. 0)


Any more ideas?
biomerge
Techie
 
Posts: 13
Joined: Tue Oct 29, 2019 2:40 am

Re: cefclient doesn't work in debug mode

Postby Czarek » Tue Nov 05, 2019 5:56 am

Did you make changes to cefclient app? I suggest you install latest Windows 10 updates.
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

Re: cefclient doesn't work in debug mode

Postby biomerge » Tue Nov 05, 2019 6:18 am

Czarek wrote:Did you make changes to cefclient app?

Yes I edited the vcxproj file to remove all absolute paths. Obviously something went wrong there as I undid these changes and now it works fine (except for the memory leak crash when closing in debug mode). The reason I tried tot make it portable was to run the same project on a non 4k laptop. My main problem (in my own program) might be DPI related.

See viewtopic.php?f=6&t=17168 for my bug
which is related to viewtopic.php?f=6&t=17075
and the bug report https://bitbucket.org/chromiumembedded/ ... eck-failed

My apologies for suspecting cefclient and thanks for your help!
biomerge
Techie
 
Posts: 13
Joined: Tue Oct 29, 2019 2:40 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 49 guests