Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FindPdbFile returns null #4

Open
filippobottega opened this issue May 19, 2015 · 2 comments
Open

FindPdbFile returns null #4

filippobottega opened this issue May 19, 2015 · 2 comments

Comments

@filippobottega
Copy link
Contributor

Hello,
I'm using dbghelp.dll version 6.2.9200.16384. The function FindPdbFile returns null because DbgHelp.SymFindFileInPath fails.
I noticed that when info.PdbGuid is passed to FindPdbFile it changes value like in the second picture.

productionstacktracedebug1

productionstacktracedebug2

I don't know if this is an issue but I need more help to understand if SymFindFileInPath fails or if there are some errors in passed parameters.

Thank you for your help,
Filippo.

@filippobottega filippobottega changed the title FindPdbFile return null FindPdbFile returns null May 19, 2015
@gimelfarb
Copy link
Owner

@filippobottega Apologies it will take me a while to check, as I am travelling at the moment. The screenshots do look a bit off, the Guid parameter shouldn't change - I wonder if this is something to do with the debugger...

In any case, checkout my answer here, which talks about why symbols may not be found. (Because wrong dbghelp.dll is being loaded)

@filippobottega
Copy link
Contributor Author

@gimelfarb Thank you for your response, I read your answer but I don't understand which version of dbghelp.dll I have to use. I'm using 6.2.9200.16384. Do you know which is the minimal correct version?
Moreover I don't understand how to test if I'm using the correct GUID when I'm calling DbgHelp.SymFindFileInPath. How can I view the GUID using the guidHandle?

Please fell free to tell me if you have some ideas to check in my environment.

Thank you for this interesting project,
Filippo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants