Hi,
Could anyone help me with this? I use the x command
to display all routines of my driver.
kd>x drivername!*
all routines of my driver are displayed on the screen
except the “DpcForIsr” routine. Windbg does not let
me set a breakpoint within the DpcForIsr routine.
However, I am able to set breakpoints on other
routines of my driver. Could anyone let me know why?
I use W2k sp2 and windbg 6.1.0017.0. I build my driver
with Checked Build. Below is my “sources” file:
TARGETNAME=amccdrv
TARGETPATH=obj
TARGETTYPE=DRIVER
MSC_OPTIMIZATION = /Od /Oi
TARGETLIBS=$(DDK_LIB_PATH)\Generic.lib
INCLUDES=$(BASEDIR)\inc
SOURCES= driverentry.c readwrite.c
Thanks
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
One very common cause of this is that your pdb file is out of sync with your
binary. Check to be sure you are updating your pdb files every time you
build a new binary.
–
Gary G. Little
Have Computer, Will Travel …
909-698-3191
909-551-2105
“Peter Ho” wrote in message news:xxxxx@ntdev…
>
> Hi,
> Could anyone help me with this? I use the x command
> to display all routines of my driver.
> kd>x drivername!*
> all routines of my driver are displayed on the screen
> except the “DpcForIsr” routine. Windbg does not let
> me set a breakpoint within the DpcForIsr routine.
> However, I am able to set breakpoints on other
> routines of my driver. Could anyone let me know why?
>
> I use W2k sp2 and windbg 6.1.0017.0. I build my driver
> with Checked Build. Below is my “sources” file:
> ===============================================
> TARGETNAME=amccdrv
> TARGETPATH=obj
> TARGETTYPE=DRIVER
> MSC_OPTIMIZATION = /Od /Oi
> TARGETLIBS=$(DDK_LIB_PATH)\Generic.lib
> INCLUDES=$(BASEDIR)\inc
> SOURCES= driverentry.c readwrite.c
> ===============================================
>
> Thanks
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
>
>
One reason I’ve seen for this is that I never referenced DpcForIsr
anywhere in my code so the linker discarded it and it’s not actually in
my driver.
Make sure you’re actually installing this routine as the function for
your DPC somewhere.
-p
-----Original Message-----
From: Peter Ho [mailto:xxxxx@yahoo.com]
Sent: Thursday, January 09, 2003 3:29 PM
To: NT Developers Interest List
Hi,
Could anyone help me with this? I use the x command to display all
routines of my driver.
kd>x drivername!*
all routines of my driver are displayed on the screen except the
“DpcForIsr” routine. Windbg does not let me set a breakpoint within the
DpcForIsr routine.
However, I am able to set breakpoints on other routines of my driver.
Could anyone let me know why?
I use W2k sp2 and windbg 6.1.0017.0. I build my driver with Checked
Build. Below is my “sources” file:
TARGETNAME=amccdrv
TARGETPATH=obj
TARGETTYPE=DRIVER
MSC_OPTIMIZATION = /Od /Oi
TARGETLIBS=$(DDK_LIB_PATH)\Generic.lib
INCLUDES=$(BASEDIR)\inc
SOURCES= driverentry.c readwrite.c
Thanks
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com
Thanks to Peter and Gary.
I forgot to initialize the DpcForIsr by calling
IoInitializeDpcRequest();
Thanks
— Peter Wieland
wrote:
> One reason I’ve seen for this is that I never
> referenced DpcForIsr
> anywhere in my code so the linker discarded it and
> it’s not actually in
> my driver.
>
> Make sure you’re actually installing this routine as
> the function for
> your DPC somewhere.
>
> -p
>
> -----Original Message-----
> From: Peter Ho [mailto:xxxxx@yahoo.com]
> Sent: Thursday, January 09, 2003 3:29 PM
> To: NT Developers Interest List
>
> Hi,
> Could anyone help me with this? I use the x command
> to display all
> routines of my driver.
> kd>x drivername!*
> all routines of my driver are displayed on the
> screen except the
> “DpcForIsr” routine. Windbg does not let me set a
> breakpoint within the
> DpcForIsr routine.
> However, I am able to set breakpoints on other
> routines of my driver.
> Could anyone let me know why?
>
> I use W2k sp2 and windbg 6.1.0017.0. I build my
> driver with Checked
> Build. Below is my “sources” file:
> ===============================================
> TARGETNAME=amccdrv
> TARGETPATH=obj
> TARGETTYPE=DRIVER
> MSC_OPTIMIZATION = /Od /Oi
> TARGETLIBS=$(DDK_LIB_PATH)\Generic.lib
> INCLUDES=$(BASEDIR)\inc
> SOURCES= driverentry.c readwrite.c
> ===============================================
>
> Thanks
>
>
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up
> now.
> http://mailplus.yahoo.com
>
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@microsoft.com To
> unsubscribe send a blank email to
> xxxxx@lists.osr.com
>
>
>
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
xxxxx@lists.osr.com
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
Oh yeah … that wil do it everytime. 
–
Gary G. Little
Have Computer, Will Travel …
909-698-3191
909-551-2105
“Peter Ho” wrote in message news:xxxxx@ntdev…
>
> Thanks to Peter and Gary.
> I forgot to initialize the DpcForIsr by calling
> IoInitializeDpcRequest();
>
> Thanks
>
>
>
> — Peter Wieland
> wrote:
> > One reason I’ve seen for this is that I never
> > referenced DpcForIsr
> > anywhere in my code so the linker discarded it and
> > it’s not actually in
> > my driver.
> >
> > Make sure you’re actually installing this routine as
> > the function for
> > your DPC somewhere.
> >
> > -p
> >
> > -----Original Message-----
> > From: Peter Ho [mailto:xxxxx@yahoo.com]
> > Sent: Thursday, January 09, 2003 3:29 PM
> > To: NT Developers Interest List
> >
> > Hi,
> > Could anyone help me with this? I use the x command
> > to display all
> > routines of my driver.
> > kd>x drivername!*
> > all routines of my driver are displayed on the
> > screen except the
> > “DpcForIsr” routine. Windbg does not let me set a
> > breakpoint within the
> > DpcForIsr routine.
> > However, I am able to set breakpoints on other
> > routines of my driver.
> > Could anyone let me know why?
> >
> > I use W2k sp2 and windbg 6.1.0017.0. I build my
> > driver with Checked
> > Build. Below is my “sources” file:
> > ===============================================
> > TARGETNAME=amccdrv
> > TARGETPATH=obj
> > TARGETTYPE=DRIVER
> > MSC_OPTIMIZATION = /Od /Oi
> > TARGETLIBS=$(DDK_LIB_PATH)\Generic.lib
> > INCLUDES=$(BASEDIR)\inc
> > SOURCES= driverentry.c readwrite.c
> > ===============================================
> >
> > Thanks
> >
> >
> > Do you Yahoo!?
> > Yahoo! Mail Plus - Powerful. Affordable. Sign up
> > now.
> > http://mailplus.yahoo.com
> >
> >
> > —
> > You are currently subscribed to ntdev as:
> > xxxxx@microsoft.com To
> > unsubscribe send a blank email to
> > xxxxx@lists.osr.com
> >
> >
> >
> >
> > —
> > You are currently subscribed to ntdev as:
> > xxxxx@yahoo.com
> > To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>
>
>
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
>
>