Why you set the symbols path as "srv*c:\syms*\symbols\symbols"? Did you have an internal symbols server share called \symbols\symbols? If your intention is to load symbols of Windows modules, please point to Microsoft symbols store. You could use ".symfix" command for this.
The symbols path is incorrect, please change to the line below and give it a try.
srv*c:\syms*\symbols\symbols;C:\Users\t-yanzh\Documents\work\drivers\sandbox\objchk_win7_x86\i386
If this still fails, please run "!sym noisy" then ".reload /f sandbox.sys". Please copy/paste back the debugger spew.
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Yang Zhang
Sent: Thursday, October 01, 2009 08:55 AM
To: Kernel Debugging Interest List
Cc: Jeremy Condit
Subject: [windbg] Setting breakpoints in own driver
I'm trying to debug my own driver, but I can't seem to resolve any
symbols for it.
E.g., trying to set a breakpoint gives the following error (after a long delay):
kd> bp sandbox!DriverEntry
*** ERROR: Module load completed but symbols could not be loaded for sandbox.sys
Couldn't resolve error at 'sandbox!DriverEntry'
Also tried bu as suggested in
http://www.osronline.com/showThread.cfm?link=96474
kd> bu sandbox!DriverEntry
Couldn't resolve error at 'sandbox!DriverEntry'
I load and start my driver using OSRLoader. My driver is called
sandbox - that's the TARGETNAME in SOURCES and the name in OSRLoader.
I went to File > Symbol File Path... and appended my own output
directory to the (already working) symbol path:
srv*c:\syms*\symbols\symbols*C:\Users\t-yanzh\Documents\work\drivers\sandbox\objchk_win7_x86\i386
Any hints? Thanks in advance.
Yang Zhang
WINDBG is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
To unsubscribe, visit the List Server section of OSR Online at ListServer/Forum