Hi Dave,
Thanks for using Microsoft Newsgroup Service. My name is Hongye Sun[MSFT]
and it is my pleasure to work with you on this issue.
Each build of the EXE and PDB files generates different GUID and save it
into both EXE and PDB files, even though the source code is the same. By
default, debugger will check the GUID to verify if they are matched.
However, we can change this default behavior of the debugger in Windbg. To
do that, please follow the detailed steps:
1. Open windbg and load the minidump
2. Type "symopt +40" to add symbol option "SYMOPT_LOAD_ANYTHING" to reduce
the pickiness of the symbol handler.
3. Type "!sym noisy" to activate noisy symbol loading.
4. Type "ld <EXE name>" to load the symbols of the EXE module, and it shows
the detailed information.
5. To verify if the symbol has been loaded, try "ld <EXE name>" command
again, it will show you that the symbol has been loaded message.
I also provide methods to view the GUID in EXE and PDB file here.
To view EXE GUID:
1. Open windbg and load the minidump
2. Type "!lmi <EXE name>", it will list all the information of the EXE
module.
3. Find "RSDS - GUID".
To view PDB GUID:
1. Open command prompt and change directory to Windbg folder.
2. Type "DBH <PDB file path>".
3. Type "info" which lists all the symbol info in a PDB file
4. Find "PdbSig70" field and it shows you the GUID value.
Following is all the documentation about the commands and tools that I
mentioned above:
SYMOPT_LOAD_ANYTHING
(http://msdn.microsoft.com/en-us/library/cc266462.aspx#df594b86-a965-4f24-af
54-e967fe57c9e7)
DBH tool (http://msdn.microsoft.com/en-us/library/cc501192.aspx)
!sym noisy (http://msdn.microsoft.com/en-us/library/cc266950.aspx)
!lmi (http://msdn.microsoft.com/en-us/library/cc266934.aspx)
Please have a try of the steps above and let us know if it works for you,
thanks.
Regards,
Hongye Sun (***@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
***@microsoft.com.
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.
Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.