Using 32 bit windows PDB

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.

Using 32 bit windows PDB

Postby rado » Thu Sep 15, 2022 9:39 am

I cannot use PDB for x86 debug builds in last versions downloaded from spotifycdn (I've tried cef_binary_104.4.25+gd80d467+chromium-104.0.5112.102_windows32 and cef_binary_105.3.38+g2a6a54b+chromium-105.0.5195.102_windows32).
I've tried to load it in:
Visual Studio 2022 (symbol load information says PDB format is not supported)
WinDBG 10.0.22621 x86 (libcef.dll.pdb - dia error 0x8007000e)
WinDBG 10.0.22621 x64 (libcef.dll.pdb - file system or network error reading pdb)

I guess the reason could be that PDB file is almost 4GB big. Here is some information: https://developercommunity.visualstudio ... n-a/904784
Although MS claims it is fixed, it does not work for me. There is the " /pdbpagesize:8192 " argument mentioned, maybe it is not used in cef build?
rado
Expert
 
Posts: 145
Joined: Wed Oct 05, 2011 3:32 am

Re: Using 32 bit windows PDB

Postby magreenblatt » Thu Sep 15, 2022 10:24 am

We had to increase the page size recently because builds were failing. Is your VS2022 install completely up-to-date?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Using 32 bit windows PDB

Postby rado » Thu Sep 15, 2022 10:37 am

I have latest stable version Version 17.3.4 (updated today).
rado
Expert
 
Posts: 145
Joined: Wed Oct 05, 2011 3:32 am

Re: Using 32 bit windows PDB

Postby magreenblatt » Thu Sep 15, 2022 10:41 am

Maybe the fixed version isn't actually released yet? The "we fixed it" message was only posted on Sept 1, 2022.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Using 32 bit windows PDB

Postby rado » Thu Sep 15, 2022 10:45 am

At this moment I'm afraid to upgrade to preview version as I'll need to do some builds, so I'll try the other day, I don't need to debug it today.
I wonder if it is possible to debug chromium by placing breakpoints without building it? I mean using spotifycdn builds + cef PDB + chromium sources? But I haven't found way how to get chromium sources for chosen CEF version.
rado
Expert
 
Posts: 145
Joined: Wed Oct 05, 2011 3:32 am

Re: Using 32 bit windows PDB

Postby magreenblatt » Thu Sep 15, 2022 10:57 am

Can you use a 64-bit build instead?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Using 32 bit windows PDB

Postby rado » Thu Sep 15, 2022 11:15 am

I'll try next time. Maybe I'll switch to 64bit, I hope there are not many users of 32 bit windows nowadays
rado
Expert
 
Posts: 145
Joined: Wed Oct 05, 2011 3:32 am

Re: Using 32 bit windows PDB

Postby magreenblatt » Thu Sep 29, 2022 12:59 pm

I suspect this loading issue might only be with VS2022.

Symbols are loading successfully for me using VS2019 16.11.19 and CEF M107. I've tested both 32-bit and 64-bit builds with both Debug and Release symbols. Note with Release builds you need to enable symbol generation under "Configuration Properties > Linker > Debugging > Generate Debug Info" or breakpoints won't work in the sample app code.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Using 32 bit windows PDB

Postby BorjaPascual » Thu Mar 09, 2023 4:30 am

Hi! Sorry to resucitate this otherwise dead and buried post, but I am facing the same problem. I'm trying to debug libcef.dll in VS 2019 and, when I try to load the pdb file, it says no symbols were found.
BorjaPascual
Techie
 
Posts: 27
Joined: Mon Jan 30, 2023 11:25 am

Re: Using 32 bit windows PDB

Postby magreenblatt » Thu Mar 09, 2023 8:39 am

Are you using a fully up-to-date VS version? Did you download the correct/matching PDB file version?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Next

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 81 guests