Unable to load symbols for CEF in Visual Studio 2022

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.

Unable to load symbols for CEF in Visual Studio 2022

Postby sshuzaFulcrum » Tue Sep 27, 2022 10:45 am

Hello CEF Forums,

I have been working on trying to get a CEFSimple project with Custom Schemes, but I receive a breakpoint (exception), when I attempt to run CefAddCrossOriginWhitelistEntry somewhere in libcef.dll. Every time I get the exception, I get "libcef.dll.pdb not loaded".

Image

I can't see what part of libcef.dll is throwing that error. I have downloaded both Debug and Release Symbols, and placed them alongside the built binaries, and even attempted to directly reference the folders as a symbol path to no avail.

Whenever I select the libcef.dll.pdb file itself directly using a Folder Browser, I get the error "A matching symbol file was not found in this folder". Regardless of changing the folder path that the file is sitting in, I have been unable to load either pdb file.

Image


Can anyone give me any advice on how to get the pdb file to open and show what iexactly is causing the exception?
sshuzaFulcrum
Techie
 
Posts: 12
Joined: Tue Sep 27, 2022 9:31 am

Re: Unable to load symbols for CEF in Visual Studio 2022

Postby magreenblatt » Tue Sep 27, 2022 11:39 am

magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Unable to load symbols for CEF in Visual Studio 2022

Postby sshuzaFulcrum » Tue Sep 27, 2022 11:46 am

magreenblatt wrote:See viewtopic.php?f=6&t=19197


Thanks @magreenblatt

I am using the 64-bit builds of both the CEF Binary and my Symbols (both Release and Debug). I am also running the most recent version of VS 2022 Enterprise.

Image

Image

Image
sshuzaFulcrum
Techie
 
Posts: 12
Joined: Tue Sep 27, 2022 9:31 am

Re: Unable to load symbols for CEF in Visual Studio 2022

Postby sshuzaFulcrum » Tue Sep 27, 2022 12:05 pm

I don't see either where the /pdbpagesize:8192 argument should go for the debugger itself.

Image
sshuzaFulcrum
Techie
 
Posts: 12
Joined: Tue Sep 27, 2022 9:31 am

Re: Unable to load symbols for CEF in Visual Studio 2022

Postby magreenblatt » Tue Sep 27, 2022 12:13 pm

The /pdbpagesize:8192 argument is specified when building CEF/Chromium. It's not something that you need to configure in your project.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Unable to load symbols for CEF in Visual Studio 2022

Postby magreenblatt » Tue Sep 27, 2022 12:15 pm

I am using the 64-bit builds of both the CEF Binary and my Symbols (both Release and Debug). I am also running the most recent version of VS 2022 Enterprise.

I don't have any great recommendations in that case. It's an issue that will need to be fixed by Microsoft.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Unable to load symbols for CEF in Visual Studio 2022

Postby magreenblatt » Tue Sep 27, 2022 12:41 pm

magreenblatt wrote:
I am using the 64-bit builds of both the CEF Binary and my Symbols (both Release and Debug). I am also running the most recent version of VS 2022 Enterprise.

I don't have any great recommendations in that case. It's an issue that will need to be fixed by Microsoft.

You could try the Preview version of Visual Studio to see if it's fixed there.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Unable to load symbols for CEF in Visual Studio 2022

Postby sshuzaFulcrum » Tue Sep 27, 2022 1:43 pm

magreenblatt wrote:The /pdbpagesize:8192 argument is specified when building CEF/Chromium. It's not something that you need to configure in your project.


Would i make this change in CEF's CMakeLists.txt file?
sshuzaFulcrum
Techie
 
Posts: 12
Joined: Tue Sep 27, 2022 9:31 am

Re: Unable to load symbols for CEF in Visual Studio 2022

Postby magreenblatt » Tue Sep 27, 2022 2:02 pm

sshuzaFulcrum wrote:
magreenblatt wrote:The /pdbpagesize:8192 argument is specified when building CEF/Chromium. It's not something that you need to configure in your project.


Would i make this change in CEF's CMakeLists.txt file?

No. It is not something that you can change in your build.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Unable to load symbols for CEF in Visual Studio 2022

Postby sshuzaFulcrum » Wed Sep 28, 2022 9:06 am

magreenblatt wrote:
sshuzaFulcrum wrote:
magreenblatt wrote:The /pdbpagesize:8192 argument is specified when building CEF/Chromium. It's not something that you need to configure in your project.


Would i make this change in CEF's CMakeLists.txt file?

No. It is not something that you can change in your build.


Do you know where that setting should be placed in Visual Studio?

Image


Image
sshuzaFulcrum
Techie
 
Posts: 12
Joined: Tue Sep 27, 2022 9:31 am

Next

Return to Support Forum

Who is online

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