Debugging minifilter

Hello all,

I have just started debugging a minifilter.

As it’s a initial phase I am using Windbg in local mode.

I have set source path to .c files.

Image path to .sys file

And symbol path to .pdb ,symbol server.

But when I started debugging,its says No runnable debuggees.

When I applied !analyze -v ,it says Debuggees are starting up.

And it just hangs.

Kindly let me know what is happening.

Thanks and regards,

Ruhina.

Ruhina,

Several things you might want to try. First, lower the baud rate between
the two machines. One older serial cable I have for example can only
operate
at 38400 (soooo slow).

Second, a lot of times when you start windbg you need too hit the break
command once before the debugger will initialize.

m.

ruhina wrote:

Hello all,

I have just started debugging a minifilter.

As it’s a initial phase I am using Windbg in local mode.

I have set source path to .c files.

Image path to .sys file

And symbol path to .pdb ,symbol server.

But when I started debugging,its says No runnable debuggees.

When I applied !analyze -v ,it says Debuggees are starting up.

And it just hangs.

Kindly let me know what is happening.

Thanks and regards,

Ruhina.


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: unknown lmsubst tag
argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

Thanks MM,
But I am debuggig locally ,There is no another machine…
I just change boot.ini file of my machine and add \debug.

Regards,
Ruhina

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of MM
Sent: Friday, March 10, 2006 12:33 PM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] Debugging minifilter

Ruhina,

Several things you might want to try. First, lower the baud rate between
the two machines. One older serial cable I have for example can only
operate
at 38400 (soooo slow).

Second, a lot of times when you start windbg you need too hit the break
command once before the debugger will initialize.

m.

ruhina wrote:

Hello all,

I have just started debugging a minifilter.

As it’s a initial phase I am using Windbg in local mode.

I have set source path to .c files.

Image path to .sys file

And symbol path to .pdb ,symbol server.

But when I started debugging,its says No runnable debuggees.

When I applied !analyze -v ,it says Debuggees are starting up.

And it just hangs.

Kindly let me know what is happening.

Thanks and regards,

Ruhina.


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: unknown lmsubst tag
argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@persistent.co.in
To unsubscribe send a blank email to xxxxx@lists.osr.com

You can’t do that. To debug a driver using windbg you need two machines.
Install your driver on the target machine and add
the \debug switch to the boot.ini machine, connected it with a null
serial cable to your other computer and launch windbg on that one.

m.

ruhina wrote:

Thanks MM,
But I am debuggig locally ,There is no another machine…
I just change boot.ini file of my machine and add \debug.

Regards,
Ruhina

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of MM
Sent: Friday, March 10, 2006 12:33 PM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] Debugging minifilter

Ruhina,

Several things you might want to try. First, lower the baud rate between
the two machines. One older serial cable I have for example can only
operate
at 38400 (soooo slow).

Second, a lot of times when you start windbg you need too hit the break
command once before the debugger will initialize.

m.

ruhina wrote:

>Hello all,
>
>I have just started debugging a minifilter.
>
>As it’s a initial phase I am using Windbg in local mode.
>
>I have set source path to .c files.
>
>Image path to .sys file
>
>And symbol path to .pdb ,symbol server.
>
>But when I started debugging,its says No runnable debuggees.
>
>When I applied !analyze -v ,it says Debuggees are starting up.
>
>And it just hangs.
>
>Kindly let me know what is happening.
>
>Thanks and regards,
>
>Ruhina.
>
>
>—
>Questions? First check the IFS FAQ at
>https://www.osronline.com/article.cfm?id=17
>
>You are currently subscribed to ntfsd as: unknown lmsubst tag
>argument: ‘’
>To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@persistent.co.in
To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@comcast.net
To unsubscribe send a blank email to xxxxx@lists.osr.com

But if you go through Documentation in DDk …there is one way
On command line type WinDbg -kl.
If it is not possible why they have that documentation.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of MM
Sent: Friday, March 10, 2006 2:52 PM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] Debugging minifilter

You can’t do that. To debug a driver using windbg you need two machines.
Install your driver on the target machine and add
the \debug switch to the boot.ini machine, connected it with a null
serial cable to your other computer and launch windbg on that one.

m.

ruhina wrote:

Thanks MM,
But I am debuggig locally ,There is no another machine…
I just change boot.ini file of my machine and add \debug.

Regards,
Ruhina

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of MM
Sent: Friday, March 10, 2006 12:33 PM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] Debugging minifilter

Ruhina,

Several things you might want to try. First, lower the baud rate between
the two machines. One older serial cable I have for example can only
operate
at 38400 (soooo slow).

Second, a lot of times when you start windbg you need too hit the break
command once before the debugger will initialize.

m.

ruhina wrote:

>Hello all,
>
>I have just started debugging a minifilter.
>
>As it’s a initial phase I am using Windbg in local mode.
>
>I have set source path to .c files.
>
>Image path to .sys file
>
>And symbol path to .pdb ,symbol server.
>
>But when I started debugging,its says No runnable debuggees.
>
>When I applied !analyze -v ,it says Debuggees are starting up.
>
>And it just hangs.
>
>Kindly let me know what is happening.
>
>Thanks and regards,
>
>Ruhina.
>
>
>—
>Questions? First check the IFS FAQ at
>https://www.osronline.com/article.cfm?id=17
>
>You are currently subscribed to ntfsd as: unknown lmsubst tag
>argument: ‘’
>To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@persistent.co.in
To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@comcast.net
To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@persistent.co.in
To unsubscribe send a blank email to xxxxx@lists.osr.com

Uhm, I didn’t know that was there… I’ll try that out, in the doc’s it
does state that is for XP and above. However,
even if that does work, you should shouldn’t develop and test on the
same machine. You really should seperate the two.

m.

ruhina wrote:

But if you go through Documentation in DDk …there is one way
On command line type WinDbg -kl.
If it is not possible why they have that documentation.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of MM
Sent: Friday, March 10, 2006 2:52 PM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] Debugging minifilter

You can’t do that. To debug a driver using windbg you need two machines.
Install your driver on the target machine and add
the \debug switch to the boot.ini machine, connected it with a null
serial cable to your other computer and launch windbg on that one.

m.

ruhina wrote:

>Thanks MM,
> But I am debuggig locally ,There is no another machine…
> I just change boot.ini file of my machine and add \debug.
>
>Regards,
>Ruhina
>
>-----Original Message-----
>From: xxxxx@lists.osr.com
>[mailto:xxxxx@lists.osr.com] On Behalf Of MM
>Sent: Friday, March 10, 2006 12:33 PM
>To: Windows File Systems Devs Interest List
>Subject: Re: [ntfsd] Debugging minifilter
>
>Ruhina,
>
>Several things you might want to try. First, lower the baud rate between
>the two machines. One older serial cable I have for example can only
>operate
>at 38400 (soooo slow).
>
>Second, a lot of times when you start windbg you need too hit the break
>command once before the debugger will initialize.
>
>m.
>
>ruhina wrote:
>
>
>
>
>
>>Hello all,
>>
>>I have just started debugging a minifilter.
>>
>>As it’s a initial phase I am using Windbg in local mode.
>>
>>I have set source path to .c files.
>>
>>Image path to .sys file
>>
>>And symbol path to .pdb ,symbol server.
>>
>>But when I started debugging,its says No runnable debuggees.
>>
>>When I applied !analyze -v ,it says Debuggees are starting up.
>>
>>And it just hangs.
>>
>>Kindly let me know what is happening.
>>
>>Thanks and regards,
>>
>>Ruhina.
>>
>>
>>—
>>Questions? First check the IFS FAQ at
>>https://www.osronline.com/article.cfm?id=17
>>
>>You are currently subscribed to ntfsd as: unknown lmsubst tag
>>argument: ‘’
>>To unsubscribe send a blank email to xxxxx@lists.osr.com
>>
>>
>>
>>
>
>—
>Questions? First check the IFS FAQ at
>https://www.osronline.com/article.cfm?id=17
>
>You are currently subscribed to ntfsd as: xxxxx@persistent.co.in
>To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
>—
>Questions? First check the IFS FAQ at
>
>
https://www.osronline.com/article.cfm?id=17

>You are currently subscribed to ntfsd as: xxxxx@comcast.net
>To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
>
>


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@persistent.co.in
To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@comcast.net
To unsubscribe send a blank email to xxxxx@lists.osr.com

Thank you MM.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of MM
Sent: Friday, March 10, 2006 3:19 PM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] Debugging minifilter

Uhm, I didn’t know that was there… I’ll try that out, in the doc’s it
does state that is for XP and above. However,
even if that does work, you should shouldn’t develop and test on the
same machine. You really should seperate the two.

m.

ruhina wrote:

But if you go through Documentation in DDk …there is one way
On command line type WinDbg -kl.
If it is not possible why they have that documentation.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of MM
Sent: Friday, March 10, 2006 2:52 PM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] Debugging minifilter

You can’t do that. To debug a driver using windbg you need two machines.
Install your driver on the target machine and add
the \debug switch to the boot.ini machine, connected it with a null
serial cable to your other computer and launch windbg on that one.

m.

ruhina wrote:

>Thanks MM,
> But I am debuggig locally ,There is no another machine…
> I just change boot.ini file of my machine and add \debug.
>
>Regards,
>Ruhina
>
>-----Original Message-----
>From: xxxxx@lists.osr.com
>[mailto:xxxxx@lists.osr.com] On Behalf Of MM
>Sent: Friday, March 10, 2006 12:33 PM
>To: Windows File Systems Devs Interest List
>Subject: Re: [ntfsd] Debugging minifilter
>
>Ruhina,
>
>Several things you might want to try. First, lower the baud rate between
>the two machines. One older serial cable I have for example can only
>operate
>at 38400 (soooo slow).
>
>Second, a lot of times when you start windbg you need too hit the break
>command once before the debugger will initialize.
>
>m.
>
>ruhina wrote:
>
>
>
>
>
>>Hello all,
>>
>>I have just started debugging a minifilter.
>>
>>As it’s a initial phase I am using Windbg in local mode.
>>
>>I have set source path to .c files.
>>
>>Image path to .sys file
>>
>>And symbol path to .pdb ,symbol server.
>>
>>But when I started debugging,its says No runnable debuggees.
>>
>>When I applied !analyze -v ,it says Debuggees are starting up.
>>
>>And it just hangs.
>>
>>Kindly let me know what is happening.
>>
>>Thanks and regards,
>>
>>Ruhina.
>>
>>
>>—
>>Questions? First check the IFS FAQ at
>>https://www.osronline.com/article.cfm?id=17
>>
>>You are currently subscribed to ntfsd as: unknown lmsubst tag
>>argument: ‘’
>>To unsubscribe send a blank email to xxxxx@lists.osr.com
>>
>>
>>
>>
>
>—
>Questions? First check the IFS FAQ at
>https://www.osronline.com/article.cfm?id=17
>
>You are currently subscribed to ntfsd as: xxxxx@persistent.co.in
>To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
>—
>Questions? First check the IFS FAQ at
>
>
https://www.osronline.com/article.cfm?id=17

>You are currently subscribed to ntfsd as: xxxxx@comcast.net
>To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
>
>


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@persistent.co.in
To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@comcast.net
To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@persistent.co.in
To unsubscribe send a blank email to xxxxx@lists.osr.com

Funny, I never knew that was there. Had to reboot this machine… After
messing around with it a little, and scanning threw the documentation,
using this local debugging feature is extremely limited compared to
remote debugging (two machines). Like I said in my last post, you should
use two different machines if
you want to do this correctly.

!analyze and many other commands don’t work locally. If you try !lm,
you’ll see the debugger is running.

Your just going to have to use two machines… (for many reasons other
than this to properly debug and test your driver)

m.

ruhina wrote:

Thank you MM.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of MM
Sent: Friday, March 10, 2006 3:19 PM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] Debugging minifilter

Uhm, I didn’t know that was there… I’ll try that out, in the doc’s it
does state that is for XP and above. However,
even if that does work, you should shouldn’t develop and test on the
same machine. You really should seperate the two.

m.

ruhina wrote:

>But if you go through Documentation in DDk …there is one way
>On command line type WinDbg -kl.
>If it is not possible why they have that documentation.
>
>-----Original Message-----
>From: xxxxx@lists.osr.com
>[mailto:xxxxx@lists.osr.com] On Behalf Of MM
>Sent: Friday, March 10, 2006 2:52 PM
>To: Windows File Systems Devs Interest List
>Subject: Re: [ntfsd] Debugging minifilter
>
>You can’t do that. To debug a driver using windbg you need two machines.
>Install your driver on the target machine and add
>the \debug switch to the boot.ini machine, connected it with a null
>serial cable to your other computer and launch windbg on that one.
>
>m.
>
>ruhina wrote:
>
>
>
>
>
>>Thanks MM,
>> But I am debuggig locally ,There is no another machine…
>> I just change boot.ini file of my machine and add \debug.
>>
>>Regards,
>>Ruhina
>>
>>-----Original Message-----
>>From: xxxxx@lists.osr.com
>>[mailto:xxxxx@lists.osr.com] On Behalf Of MM
>>Sent: Friday, March 10, 2006 12:33 PM
>>To: Windows File Systems Devs Interest List
>>Subject: Re: [ntfsd] Debugging minifilter
>>
>>Ruhina,
>>
>>Several things you might want to try. First, lower the baud rate between
>>the two machines. One older serial cable I have for example can only
>>operate
>>at 38400 (soooo slow).
>>
>>Second, a lot of times when you start windbg you need too hit the break
>>command once before the debugger will initialize.
>>
>>m.
>>
>>ruhina wrote:
>>
>>
>>
>>
>>
>>
>>
>>>Hello all,
>>>
>>>I have just started debugging a minifilter.
>>>
>>>As it’s a initial phase I am using Windbg in local mode.
>>>
>>>I have set source path to .c files.
>>>
>>>Image path to .sys file
>>>
>>>And symbol path to .pdb ,symbol server.
>>>
>>>But when I started debugging,its says No runnable debuggees.
>>>
>>>When I applied !analyze -v ,it says Debuggees are starting up.
>>>
>>>And it just hangs.
>>>
>>>Kindly let me know what is happening.
>>>
>>>Thanks and regards,
>>>
>>>Ruhina.
>>>
>>>
>>>—
>>>Questions? First check the IFS FAQ at
>>>https://www.osronline.com/article.cfm?id=17
>>>
>>>You are currently subscribed to ntfsd as: unknown lmsubst tag
>>>argument: ‘’
>>>To unsubscribe send a blank email to xxxxx@lists.osr.com
>>>
>>>
>>>
>>>
>>>
>>>
>>—
>>Questions? First check the IFS FAQ at
>>https://www.osronline.com/article.cfm?id=17
>>
>>You are currently subscribed to ntfsd as: xxxxx@persistent.co.in
>>To unsubscribe send a blank email to xxxxx@lists.osr.com
>>
>>
>>
>>—
>>Questions? First check the IFS FAQ at
>>
>>
>>
>>
>https://www.osronline.com/article.cfm?id=17
>
>
>
>
>>You are currently subscribed to ntfsd as: xxxxx@comcast.net
>>To unsubscribe send a blank email to xxxxx@lists.osr.com
>>
>>
>>
>>
>>
>>
>>
>—
>Questions? First check the IFS FAQ at
>https://www.osronline.com/article.cfm?id=17
>
>You are currently subscribed to ntfsd as: xxxxx@persistent.co.in
>To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
>—
>Questions? First check the IFS FAQ at
>
>
https://www.osronline.com/article.cfm?id=17

>You are currently subscribed to ntfsd as: xxxxx@comcast.net
>To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
>
>


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@persistent.co.in
To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@comcast.net
To unsubscribe send a blank email to xxxxx@lists.osr.com

> Funny, I never knew that was there. Had to reboot this machine… After

messing around with it a little, and scanning threw the documentation,
using this local debugging feature is extremely limited compared to
remote debugging (two machines).

Exactly, it is not much larger then DbgView :slight_smile:

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

FWIW, you can do it on the same machine using VMWare or Virtual PC (my
experience is VMWare works better). You connect through a named pipe. Very
handy.

Ken

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of MM
Sent: Friday, March 10, 2006 5:27 AM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] Debugging minifilter

Funny, I never knew that was there. Had to reboot this machine… After
messing around with it a little, and scanning threw the documentation,
using this local debugging feature is extremely limited compared to
remote debugging (two machines). Like I said in my last post, you should
use two different machines if
you want to do this correctly.

!analyze and many other commands don’t work locally. If you try !lm,
you’ll see the debugger is running.

Your just going to have to use two machines… (for many reasons other
than this to properly debug and test your driver)

m.

ruhina wrote:

Thank you MM.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of MM
Sent: Friday, March 10, 2006 3:19 PM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] Debugging minifilter

Uhm, I didn’t know that was there… I’ll try that out, in the doc’s it
does state that is for XP and above. However,
even if that does work, you should shouldn’t develop and test on the
same machine. You really should seperate the two.

m.

ruhina wrote:

>But if you go through Documentation in DDk …there is one way
>On command line type WinDbg -kl.
>If it is not possible why they have that documentation.
>
>-----Original Message-----
>From: xxxxx@lists.osr.com
>[mailto:xxxxx@lists.osr.com] On Behalf Of MM
>Sent: Friday, March 10, 2006 2:52 PM
>To: Windows File Systems Devs Interest List
>Subject: Re: [ntfsd] Debugging minifilter
>
>You can’t do that. To debug a driver using windbg you need two machines.
>Install your driver on the target machine and add
>the \debug switch to the boot.ini machine, connected it with a null
>serial cable to your other computer and launch windbg on that one.
>
>m.
>
>ruhina wrote:
>
>
>
>
>
>>Thanks MM,
>> But I am debuggig locally ,There is no another machine…
>> I just change boot.ini file of my machine and add \debug.
>>
>>Regards,
>>Ruhina
>>
>>-----Original Message-----
>>From: xxxxx@lists.osr.com
>>[mailto:xxxxx@lists.osr.com] On Behalf Of MM
>>Sent: Friday, March 10, 2006 12:33 PM
>>To: Windows File Systems Devs Interest List
>>Subject: Re: [ntfsd] Debugging minifilter
>>
>>Ruhina,
>>
>>Several things you might want to try. First, lower the baud rate between
>>the two machines. One older serial cable I have for example can only
>>operate
>>at 38400 (soooo slow).
>>
>>Second, a lot of times when you start windbg you need too hit the break
>>command once before the debugger will initialize.
>>
>>m.
>>
>>ruhina wrote:
>>
>>
>>
>>
>>
>>
>>
>>>Hello all,
>>>
>>>I have just started debugging a minifilter.
>>>
>>>As it’s a initial phase I am using Windbg in local mode.
>>>
>>>I have set source path to .c files.
>>>
>>>Image path to .sys file
>>>
>>>And symbol path to .pdb ,symbol server.
>>>
>>>But when I started debugging,its says No runnable debuggees.
>>>
>>>When I applied !analyze -v ,it says Debuggees are starting up.
>>>
>>>And it just hangs.
>>>
>>>Kindly let me know what is happening.
>>>
>>>Thanks and regards,
>>>
>>>Ruhina.
>>>
>>>
>>>—
>>>Questions? First check the IFS FAQ at
>>>https://www.osronline.com/article.cfm?id=17
>>>
>>>You are currently subscribed to ntfsd as: unknown lmsubst tag
>>>argument: ‘’
>>>To unsubscribe send a blank email to xxxxx@lists.osr.com
>>>
>>>
>>>
>>>
>>>
>>>
>>—
>>Questions? First check the IFS FAQ at
>>https://www.osronline.com/article.cfm?id=17
>>
>>You are currently subscribed to ntfsd as: xxxxx@persistent.co.in
>>To unsubscribe send a blank email to xxxxx@lists.osr.com
>>
>>
>>
>>—
>>Questions? First check the IFS FAQ at
>>
>>
>>
>>
>https://www.osronline.com/article.cfm?id=17
>
>
>
>
>>You are currently subscribed to ntfsd as: xxxxx@comcast.net
>>To unsubscribe send a blank email to xxxxx@lists.osr.com
>>
>>
>>
>>
>>
>>
>>
>—
>Questions? First check the IFS FAQ at
>https://www.osronline.com/article.cfm?id=17
>
>You are currently subscribed to ntfsd as: xxxxx@persistent.co.in
>To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
>—
>Questions? First check the IFS FAQ at
>
>
https://www.osronline.com/article.cfm?id=17

>You are currently subscribed to ntfsd as: xxxxx@comcast.net
>To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
>
>


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@persistent.co.in
To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@comcast.net
To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@comcast.net
To unsubscribe send a blank email to xxxxx@lists.osr.com

I’ve read that and it seems that all important features are disabled when
debugging kernel locally. No surprise for me tho.

Get another machine for proper debugging your driver.
Or, you can purchase license of Soft-ICE, but this debugger suffers
huge problems in newer Windows versions, especially on multiprocessor
machines. Even more, the license costs more than brand new computer

L.

> FWIW, you can do it on the same machine using VMWare or Virtual PC (my

experience is VMWare works better). You connect through a named pipe.
Very
handy.
In my experience VirtualPC (re)connects the named pipe that replaces
COM1 a bit “easier” than VMWare when the virtual reboots.

On the other hand, VMWare’s advanced mode allows you to share a drive
between the host (real) and target (virtual) machines, something VPC can
not do, very handy, you can trace disk activity in both worlds
simultaneously.

Trouble comes when you need enhanced graphics (DirectX, OpenGL) in
an app or driver, neither vpc nor vmware support it.

There is livekd from Mark for one-box debugging, but all
the limitations are there, because livekd uses windbg/kd.

----- Original Message -----
From: “Ken Cross”
To: “Windows File Systems Devs Interest List”
Sent: Friday, March 10, 2006 5:46 AM
Subject: RE: [ntfsd] Debugging minifilter

> FWIW, you can do it on the same machine using VMWare or Virtual PC (my
> experience is VMWare works better). You connect through a named pipe.
> Very
> handy.
>
> Ken
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of MM
> Sent: Friday, March 10, 2006 5:27 AM
> To: Windows File Systems Devs Interest List
> Subject: Re: [ntfsd] Debugging minifilter
>
> Funny, I never knew that was there. Had to reboot this machine… After
> messing around with it a little, and scanning threw the documentation,
> using this local debugging feature is extremely limited compared to
> remote debugging (two machines). Like I said in my last post, you should
> use two different machines if
> you want to do this correctly.
>
> !analyze and many other commands don’t work locally. If you try !lm,
> you’ll see the debugger is running.
>
> Your just going to have to use two machines… (for many reasons other
> than this to properly debug and test your driver)
>
> m.
>
> ruhina wrote:
>
>>Thank you MM.
>>
>>-----Original Message-----
>>From: xxxxx@lists.osr.com
>>[mailto:xxxxx@lists.osr.com] On Behalf Of MM
>>Sent: Friday, March 10, 2006 3:19 PM
>>To: Windows File Systems Devs Interest List
>>Subject: Re: [ntfsd] Debugging minifilter
>>
>>Uhm, I didn’t know that was there… I’ll try that out, in the doc’s it
>>does state that is for XP and above. However,
>>even if that does work, you should shouldn’t develop and test on the
>>same machine. You really should seperate the two.
>>
>>m.
>>
>>ruhina wrote:
>>
>>
>>
>>>But if you go through Documentation in DDk …there is one way
>>>On command line type WinDbg -kl.
>>>If it is not possible why they have that documentation.
>>>
>>>-----Original Message-----
>>>From: xxxxx@lists.osr.com
>>>[mailto:xxxxx@lists.osr.com] On Behalf Of MM
>>>Sent: Friday, March 10, 2006 2:52 PM
>>>To: Windows File Systems Devs Interest List
>>>Subject: Re: [ntfsd] Debugging minifilter
>>>
>>>You can’t do that. To debug a driver using windbg you need two machines.
>>>Install your driver on the target machine and add
>>>the \debug switch to the boot.ini machine, connected it with a null
>>>serial cable to your other computer and launch windbg on that one.
>>>
>>>m.
>>>
>>>ruhina wrote:
>>>
>>>
>>>
>>>
>>>
>>>>Thanks MM,
>>>> But I am debuggig locally ,There is no another machine…
>>>> I just change boot.ini file of my machine and add \debug.
>>>>
>>>>Regards,
>>>>Ruhina
>>>>
>>>>-----Original Message-----
>>>>From: xxxxx@lists.osr.com
>>>>[mailto:xxxxx@lists.osr.com] On Behalf Of MM
>>>>Sent: Friday, March 10, 2006 12:33 PM
>>>>To: Windows File Systems Devs Interest List
>>>>Subject: Re: [ntfsd] Debugging minifilter
>>>>
>>>>Ruhina,
>>>>
>>>>Several things you might want to try. First, lower the baud rate between
>>>>the two machines. One older serial cable I have for example can only
>>>>operate
>>>>at 38400 (soooo slow).
>>>>
>>>>Second, a lot of times when you start windbg you need too hit the break
>>>>command once before the debugger will initialize.
>>>>
>>>>m.
>>>>
>>>>ruhina wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>Hello all,
>>>>>
>>>>>I have just started debugging a minifilter.
>>>>>
>>>>>As it’s a initial phase I am using Windbg in local mode.
>>>>>
>>>>>I have set source path to .c files.
>>>>>
>>>>>Image path to .sys file
>>>>>
>>>>>And symbol path to .pdb ,symbol server.
>>>>>
>>>>>But when I started debugging,its says No runnable debuggees.
>>>>>
>>>>>When I applied !analyze -v ,it says Debuggees are starting up.
>>>>>
>>>>>And it just hangs.
>>>>>
>>>>>Kindly let me know what is happening.
>>>>>
>>>>>Thanks and regards,
>>>>>
>>>>>Ruhina.
>>>>>
>>>>>
>>>>>—
>>>>>Questions? First check the IFS FAQ at
>>>>>https://www.osronline.com/article.cfm?id=17
>>>>>
>>>>>You are currently subscribed to ntfsd as: unknown lmsubst tag
>>>>>argument: ‘’
>>>>>To unsubscribe send a blank email to xxxxx@lists.osr.com
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>—
>>>>Questions? First check the IFS FAQ at
>>>>https://www.osronline.com/article.cfm?id=17
>>>>
>>>>You are currently subscribed to ntfsd as:
>>>>xxxxx@persistent.co.in
>>>>To unsubscribe send a blank email to xxxxx@lists.osr.com
>>>>
>>>>
>>>>
>>>>—
>>>>Questions? First check the IFS FAQ at
>>>>
>>>>
>>>>
>>>>
>>>https://www.osronline.com/article.cfm?id=17
>>>
>>>
>>>
>>>
>>>>You are currently subscribed to ntfsd as: xxxxx@comcast.net
>>>>To unsubscribe send a blank email to xxxxx@lists.osr.com
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>—
>>>Questions? First check the IFS FAQ at
>>>https://www.osronline.com/article.cfm?id=17
>>>
>>>You are currently subscribed to ntfsd as: xxxxx@persistent.co.in
>>>To unsubscribe send a blank email to xxxxx@lists.osr.com
>>>
>>>
>>>
>>>—
>>>Questions? First check the IFS FAQ at
>>>
>>>
>>https://www.osronline.com/article.cfm?id=17
>>
>>
>>>You are currently subscribed to ntfsd as: xxxxx@comcast.net
>>>To unsubscribe send a blank email to xxxxx@lists.osr.com
>>>
>>>
>>>
>>>
>>>
>>
>>
>>—
>>Questions? First check the IFS FAQ at
>>https://www.osronline.com/article.cfm?id=17
>>
>>You are currently subscribed to ntfsd as: xxxxx@persistent.co.in
>>To unsubscribe send a blank email to xxxxx@lists.osr.com
>>
>>
>>
>>—
>>Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>>
>>You are currently subscribed to ntfsd as: xxxxx@comcast.net
>>To unsubscribe send a blank email to xxxxx@lists.osr.com
>>
>>
>>
>
>
> —
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@comcast.net
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
> —
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@bellsouth.net
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

> ----------

From: xxxxx@lists.osr.com[SMTP:xxxxx@lists.osr.com] on behalf of Maxim S. Shatskih[SMTP:xxxxx@storagecraft.com]
Reply To: Windows File Systems Devs Interest List
Sent: Friday, March 10, 2006 11:38 AM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] Debugging minifilter

> Funny, I never knew that was there. Had to reboot this machine… After
> messing around with it a little, and scanning threw the documentation,
> using this local debugging feature is extremely limited compared to
> remote debugging (two machines).

Exactly, it is not much larger then DbgView :slight_smile:

You can examine kernel memory, structures, IRPs and run some kd extensions. Sometimes it is very useful (I use System Internals’s livekd). Anyway, DbgView is the best debugging tool, I don’t remember when started a debugger the last time :slight_smile:

Best regards,

Michal Vodicka
UPEK, Inc.
[xxxxx@upek.com, http://www.upek.com]