Dear Driver Experts,
I’m a new windbg user and I’m having a hard time on trying to set a simple
breakpoint on my C code. I’m using windbg 6.3.0017.0. My host and my target
are Win XP/SP2 systems linked with a null-modem cable.
Here’s what I have done so far:
1)I’ve set my symbol path to directory C:\Symbols:
SRV*C:\Symbols*http://msdl.microsoft.com/download/symbols
2)I added my driver’s symbols (vsc.sys and vsc.pdb) by using SymStore and
specified it to place the symbols in directory C:\Symbols as well
3)I placed the same “vsc.sys” driver file on my target plus its “inf” file.
When I first pressed F9 alongside a source line in DriverEntry, windbg tried to
resolve the missing symbols and then sent this message box:
“Code not found. Breakpoint not set.”
Then I checked whether my driver symbols were loaded by looking into my module
list: the kernel symbols are present on the module list but not my driver
symbols.
So, I forced windbg to load my driver symbols by trying these commands:
- kd> ld vsc.pdb
Output:
No modules matched ‘VSC.PDB’
It doesn’t work with “vsc.sys” either.
- kd> .reload vsc.pdb
Output:
“vsc.pdb” was not found in the image list.
Debugger will attempt to load “vsc.pdb” at given base 00000000.
Please provide the full image name, including the extension (i.e.
kernel32.dll)
for more reliable results. Base address and size overrides can be
given as .reload <image.ext>=,.
Unable to add module at 00000000
I have spent the last 2 days on reading intensively the documentation and any
bits of related answers from OSR so any suggestions or assistance is more than
welcomed!
Chi-Truc Dinh</image.ext>