change source file path

Hi all,
I’m debugging my driver codes via null-modem cable but i dont understand two points;
1.
I encounted the definitions above when try to install the device;

*** Assertion failed: sizeof(PNP_DEVICE_STATE) == sizeof(LONG64)
*** Source File: c:\driver\apco25_vpcc_driver_generic_functions\plugplay.cpp, line 718

Yes, it is a mistake but neither host pc and target pc has the path c:\driver. maybe it defined before, how can i change it? Or(and) how can i install my driver symbols on windbg?

  1. I always see the line;
    nt!DbgBreakPointWithStatus:
    fffff800`0286ff60 cc int 3

i couldnt find about what it means?

Pls anyone define this?
Osman

xxxxx@netas.com.tr wrote:

Hi all,
I’m debugging my driver codes via null-modem cable but i dont understand two points;
1.
I encounted the definitions above when try to install the device;

*** Assertion failed: sizeof(PNP_DEVICE_STATE) == sizeof(LONG64)
*** Source File: c:\driver\apco25_vpcc_driver_generic_functions\plugplay.cpp, line 718

Yes, it is a mistake but neither host pc and target pc has the path c:\driver. maybe it defined before, how can i change it? Or(and) how can i install my driver symbols on windbg?

The paths are embedded in your object files. If you rebuild the code in
a new location, and make sure to copy the PDB file wherever you are
looking for symbols, the path will be correct. But, really why does it
matter? All you need to know is which file name and which line number.

  1. I always see the line;
    nt!DbgBreakPointWithStatus:
    fffff800`0286ff60 cc int 3

i couldnt find about what it means?

The “int 3” instruction is the breakpoint instruction in x86
processors. It’s a “software interrupt”. That’s what the ASSERT macro
eventually does to cause a break into the debugger when an assertion fails.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

That message was set when that driver (and pdb) was created. To change it,
you have to recompile it. If it’s not your driver, there’s nothing you can
do about it.

That’s what the debugger usually displays when you break in by ctrl-break.

Good luck,

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@netas.com.tr
Sent: Thursday, March 17, 2011 4:01 PM
To: Kernel Debugging Interest List
Subject: [windbg] change source file path

Hi all,
I’m debugging my driver codes via null-modem cable but i dont understand two
points;
1.
I encounted the definitions above when try to install the device;

*** Assertion failed: sizeof(PNP_DEVICE_STATE) == sizeof(LONG64)
*** Source File:
c:\driver\apco25_vpcc_driver_generic_functions\plugplay.cpp, line 718

Yes, it is a mistake but neither host pc and target pc has the path
c:\driver. maybe it defined before, how can i change it? Or(and) how can i
install my driver symbols on windbg?

  1. I always see the line;
    nt!DbgBreakPointWithStatus:
    fffff800`0286ff60 cc int 3

i couldnt find about what it means?

Pls anyone define this?
Osman


WINDBG is sponsored by OSR

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

Thanks for replies;
For 1; Tim, you are right, all i need is the file name and line no but
there is no c:\driver\apco25_vpcc_driver_generic_functions\plugplay.cpp
file and sizeof(LONG64). I understand that recompiling solve it.

For 2; i see, i couldnt see my KdPrint logs, i guess it is about the
logs, by the way how can i see the KdPrint logs?

Osman

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Martin O’Brien
Sent: Thursday, March 17, 2011 10:06 PM
To: Kernel Debugging Interest List
Subject: RE: [windbg] change source file path

That message was set when that driver (and pdb) was created. To change
it, you have to recompile it. If it’s not your driver, there’s nothing
you can do about it.

That’s what the debugger usually displays when you break in by
ctrl-break.

Good luck,

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@netas.com.tr
Sent: Thursday, March 17, 2011 4:01 PM
To: Kernel Debugging Interest List
Subject: [windbg] change source file path

Hi all,
I’m debugging my driver codes via null-modem cable but i dont understand
two points; 1.
I encounted the definitions above when try to install the device;

*** Assertion failed: sizeof(PNP_DEVICE_STATE) == sizeof(LONG64)
*** Source File:
c:\driver\apco25_vpcc_driver_generic_functions\plugplay.cpp, line 718

Yes, it is a mistake but neither host pc and target pc has the path
c:\driver. maybe it defined before, how can i change it? Or(and) how can
i install my driver symbols on windbg?

  1. I always see the line;
    nt!DbgBreakPointWithStatus:
    fffff800`0286ff60 cc int 3

i couldnt find about what it means?

Pls anyone define this?
Osman


WINDBG is sponsored by OSR

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


WINDBG is sponsored by OSR

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

Is your target os (the computer you are debugging) Windows Vista or later?

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Osman TOKER
Sent: Thursday, March 17, 2011 4:13 PM
To: Kernel Debugging Interest List
Subject: RE: [windbg] change source file path

Thanks for replies;
For 1; Tim, you are right, all i need is the file name and line no but
there is no c:\driver\apco25_vpcc_driver_generic_functions\plugplay.cpp
file and sizeof(LONG64). I understand that recompiling solve it.

For 2; i see, i couldnt see my KdPrint logs, i guess it is about the
logs, by the way how can i see the KdPrint logs?

Osman

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Martin O’Brien
Sent: Thursday, March 17, 2011 10:06 PM
To: Kernel Debugging Interest List
Subject: RE: [windbg] change source file path

That message was set when that driver (and pdb) was created. To change
it, you have to recompile it. If it’s not your driver, there’s nothing
you can do about it.

That’s what the debugger usually displays when you break in by
ctrl-break.

Good luck,

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@netas.com.tr
Sent: Thursday, March 17, 2011 4:01 PM
To: Kernel Debugging Interest List
Subject: [windbg] change source file path

Hi all,
I’m debugging my driver codes via null-modem cable but i dont understand
two points; 1.
I encounted the definitions above when try to install the device;

*** Assertion failed: sizeof(PNP_DEVICE_STATE) == sizeof(LONG64)
*** Source File:
c:\driver\apco25_vpcc_driver_generic_functions\plugplay.cpp, line 718

Yes, it is a mistake but neither host pc and target pc has the path
c:\driver. maybe it defined before, how can i change it? Or(and) how can
i install my driver symbols on windbg?

  1. I always see the line;
    nt!DbgBreakPointWithStatus:
    fffff800`0286ff60 cc int 3

i couldnt find about what it means?

Pls anyone define this?
Osman


WINDBG is sponsored by OSR

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


WINDBG is sponsored by OSR

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


WINDBG is sponsored by OSR

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

Target pc: win 7 64 bit.
Host pc: win XP 32 bit.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Martin O’Brien
Sent: Thursday, March 17, 2011 10:16 PM
To: Kernel Debugging Interest List
Subject: RE: [windbg] change source file path

Is your target os (the computer you are debugging) Windows Vista or
later?

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Osman TOKER
Sent: Thursday, March 17, 2011 4:13 PM
To: Kernel Debugging Interest List
Subject: RE: [windbg] change source file path

Thanks for replies;
For 1; Tim, you are right, all i need is the file name and line no but
there is no c:\driver\apco25_vpcc_driver_generic_functions\plugplay.cpp
file and sizeof(LONG64). I understand that recompiling solve it.

For 2; i see, i couldnt see my KdPrint logs, i guess it is about the
logs, by the way how can i see the KdPrint logs?

Osman

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Martin O’Brien
Sent: Thursday, March 17, 2011 10:06 PM
To: Kernel Debugging Interest List
Subject: RE: [windbg] change source file path

That message was set when that driver (and pdb) was created. To change
it, you have to recompile it. If it’s not your driver, there’s nothing
you can do about it.

That’s what the debugger usually displays when you break in by
ctrl-break.

Good luck,

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@netas.com.tr
Sent: Thursday, March 17, 2011 4:01 PM
To: Kernel Debugging Interest List
Subject: [windbg] change source file path

Hi all,
I’m debugging my driver codes via null-modem cable but i dont understand
two points; 1.
I encounted the definitions above when try to install the device;

*** Assertion failed: sizeof(PNP_DEVICE_STATE) == sizeof(LONG64)
*** Source File:
c:\driver\apco25_vpcc_driver_generic_functions\plugplay.cpp, line 718

Yes, it is a mistake but neither host pc and target pc has the path
c:\driver. maybe it defined before, how can i change it? Or(and) how can
i install my driver symbols on windbg?

  1. I always see the line;
    nt!DbgBreakPointWithStatus:
    fffff800`0286ff60 cc int 3

i couldnt find about what it means?

Pls anyone define this?
Osman


WINDBG is sponsored by OSR

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


WINDBG is sponsored by OSR

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


WINDBG is sponsored by OSR

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


WINDBG is sponsored by OSR

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

I’m not sure what you’re saying about not seeing your kdprint’s having to do
with (2), but if you’re not seeing them, to enable them, you might start
with ‘ed nt!Kd_DEFAULT_Mask 0xFF’ and see if that helps.

Also, you might want to read the sage wisdom of Hector:
http://www.osronline.com/article.cfm?article=295

Good luck,

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Osman TOKER
Sent: Thursday, March 17, 2011 4:30 PM
To: Kernel Debugging Interest List
Subject: RE: [windbg] change source file path

Target pc: win 7 64 bit.
Host pc: win XP 32 bit.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Martin O’Brien
Sent: Thursday, March 17, 2011 10:16 PM
To: Kernel Debugging Interest List
Subject: RE: [windbg] change source file path

Is your target os (the computer you are debugging) Windows Vista or
later?

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Osman TOKER
Sent: Thursday, March 17, 2011 4:13 PM
To: Kernel Debugging Interest List
Subject: RE: [windbg] change source file path

Thanks for replies;
For 1; Tim, you are right, all i need is the file name and line no but
there is no c:\driver\apco25_vpcc_driver_generic_functions\plugplay.cpp
file and sizeof(LONG64). I understand that recompiling solve it.

For 2; i see, i couldnt see my KdPrint logs, i guess it is about the
logs, by the way how can i see the KdPrint logs?

Osman

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Martin O’Brien
Sent: Thursday, March 17, 2011 10:06 PM
To: Kernel Debugging Interest List
Subject: RE: [windbg] change source file path

That message was set when that driver (and pdb) was created. To change
it, you have to recompile it. If it’s not your driver, there’s nothing
you can do about it.

That’s what the debugger usually displays when you break in by
ctrl-break.

Good luck,

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@netas.com.tr
Sent: Thursday, March 17, 2011 4:01 PM
To: Kernel Debugging Interest List
Subject: [windbg] change source file path

Hi all,
I’m debugging my driver codes via null-modem cable but i dont understand
two points; 1.
I encounted the definitions above when try to install the device;

*** Assertion failed: sizeof(PNP_DEVICE_STATE) == sizeof(LONG64)
*** Source File:
c:\driver\apco25_vpcc_driver_generic_functions\plugplay.cpp, line 718

Yes, it is a mistake but neither host pc and target pc has the path
c:\driver. maybe it defined before, how can i change it? Or(and) how can
i install my driver symbols on windbg?

  1. I always see the line;
    nt!DbgBreakPointWithStatus:
    fffff800`0286ff60 cc int 3

i couldnt find about what it means?

Pls anyone define this?
Osman


WINDBG is sponsored by OSR

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


WINDBG is sponsored by OSR

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


WINDBG is sponsored by OSR

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


WINDBG is sponsored by OSR

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


WINDBG is sponsored by OSR

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