force reload of symbols

Any reason why windbg won’t load symbols for my module. I issue following command…

.reload /f /i Mymodule.exe=0x1234567887654321

Ofcourse 0x1234567887654321 is loaded base address of the module. And I do have .pdbs in the right folder…

My guess is pdbs could be generated with optimization ON, but I could be wrong here…

What’s the error message? What does output from ‘!sym noisy’ says? Any
chance you’re mixing x86 with x64 binaries (pdb<->exe)?
Also if this is minidump then you’ll need to setup ‘image file path’
(see ‘.exepath’).

Kris

On Wed, Nov 13, 2013 at 1:15 PM, wrote:
> Any reason why windbg won’t load symbols for my module. I issue following command…
>
> .reload /f /i Mymodule.exe=0x1234567887654321
>
> Ofcourse 0x1234567887654321 is loaded base address of the module. And I do have .pdbs in the right folder…
>
> My guess is pdbs could be generated with optimization ON, but I could be wrong here…
>
>
>
>
>
>
> —
> WINDBG is sponsored by OSR
>
> OSR is hiring!! Info at http://www.osr.com/careers
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


Kris

I verified its x64 binary and pdb’s are also for x64 binary…
I have .dbg and/or .pdb both in same directory still no help…

Here’s what symnoisy displays…

DBGHELP: No debug info for Mymodule.exe. Searching for dbg file
SYMSRV: d:\localsymbols\Mymodule.dbg\52837BFA91840\Mymodule.dbg not found
SYMSRV: http://msdl.microsoft.com/download/symbols/Mymodule.dbg/52837BFA91840/Mymodule.dbg not found
DBGHELP: Mymodule.exe missing debug info. Searching for pdb anyway
DBGHELP: Can’t use symbol server for Mymodule.pdb - no header information available
DBGHELP: Mymodule- public symbols
c:\sym\Mymodule.dbg - unmatched
c:\sym\Mymodule.pdb - unmatched

if you want to load unmatched pdb you can issue
.symopt +0x40

this flag 0x00000040 - SYMOPT_LOAD_ANYTHING
will allow you to load any outdated / mismatched pdbs to load at a
given base and size

On 11/13/13, xxxxx@yahoo.com wrote:
> I verified its x64 binary and pdb’s are also for x64 binary…
> I have .dbg and/or .pdb both in same directory still no help…
>
> Here’s what symnoisy displays…
>
> DBGHELP: No debug info for Mymodule.exe. Searching for dbg file
> SYMSRV: d:\localsymbols\Mymodule.dbg\52837BFA91840\Mymodule.dbg not found
> SYMSRV:
> http://msdl.microsoft.com/download/symbols/Mymodule.dbg/52837BFA91840/Mymodule.dbg
> not found
> DBGHELP: Mymodule.exe missing debug info. Searching for pdb anyway
> DBGHELP: Can’t use symbol server for Mymodule.pdb - no header information
> available
> DBGHELP: Mymodule- public symbols
> c:\sym\Mymodule.dbg - unmatched
> c:\sym\Mymodule.pdb - unmatched
>
> —
> WINDBG is sponsored by OSR
>
> OSR is hiring!! Info at http://www.osr.com/careers
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>

1 Like