Basic help with setting breakpoints...

Greetings,

I’m new to the Windows development environment…

I’m trying to learn about WinDbg and windows driver development. I have a
sample driver that builds and runs fine, I’m now trying to use WinDbg to
step though some of the code and I’m having a problem setting breakpoints.

I have a two systems connected via a serial cable for debug. I have
built the driver (via the checked build environment) on the ‘host’ machine
and installed the drive on the ‘target’ machine.
I start WinDbg as follows: Windbg -y
srv*DownstreamStore*http://msdl.microsoft.com/download/symbols -k
com:port=COM1,baud=57600

In WinDbg, I have set the Symbol, Source and Image paths to the various
paths to the sample driver code on the ‘host’ machine.
Symbol Path: C:\src\sampdriver\sys\obj\i386 (sampdriver.pdb)
Source Path: C:\src\sampdriver\sys\src (sampdrvier.c)
Image Path: C:\src\sampdriver\sys\obj\i386 (sampdriver.sys)

In the Debug/Modules window, I see the sample driver listed with (codeview
symbols). However, when I open the source in the source window and try to
set a breakpoint, I get the following:

WinDbg:6.4.0007.0
! Symbol information for the current line could not be located in the
currently loaded symbols…

Can someone point out what I’m doing wrong? Is there a ‘Driver debug
cookbook’ or tutorial out there somewhere?

Thanks,
-bob

Problem solved… pilot error. Thanks.

Greetings,

I’m new to the Windows development environment…

I’m trying to learn about WinDbg and windows driver development. I have a
sample driver that builds and runs fine, I’m now trying to use WinDbg to
step though some of the code and I’m having a problem setting breakpoints.

I have a two systems connected via a serial cable for debug. I have
built the driver (via the checked build environment) on the ‘host’ machine
and installed the drive on the ‘target’ machine.
I start WinDbg as follows: Windbg -y
srv*DownstreamStore*h
ttp://msdl.microsoft.com/download/symbols -k
com:port=COM1,baud=57600

In WinDbg, I have set the Symbol, Source and Image paths to the various
paths to the sample driver code on the ‘host’ machine.
Symbol Path: C:\src\sampdriver\sys\obj\i386 (sampdriver.pdb)
Source Path: C:\src\sampdriver\sys\src (sampdrvier.c)
Image Path: C:\src\sampdriver\sys\obj\i386 (sampdriver.sys)

In the Debug/Modules window, I see the sample driver listed with (codeview
symbols). However, when I open the source in the source window and try to
set a breakpoint, I get the following:

WinDbg:6.4.0007.0
! Symbol information for the current line could not be located in the
currently loaded symbols…

Can someone point out what I’m doing wrong? Is there a ‘Driver debug
cookbook’ or tutorial out there somewhere?

Thanks,
-bob


You are currently subscribed to windbg as: xxxxx@dunstable.org
To unsubscribe send a blank email to xxxxx@lists.osr.com