how do i

i have a global var in the driver called g_Myvar, it is a DWORD

in windbg i want to add a dbkpoint that halts the machine and breaks in only
when the value of this var reaches 1. How do I do it. I dnt want to change
code of driver.

You can set a breakpoint that will fire when the variable is read or written with the ba' command. Then, you could add a command to the breakpoint to check if the variables present value is 1, and if not, resume execution (gc’). The WinDbg documentation has more on this; look up the topic on “ba” (break on access).

As an example, though, you might try something like:

ba w4 mydriver!g_Myvar "j poi(mydriver!g_Myvar) == 1 ‘k’ ; 'gc ’ "

(untested, but you should get the idea between that and reading the documentation.)


Ken Johnson (Skywing)
Windows SDK MVP
http://www.nynaeve.net
“A P” wrote in message news:xxxxx@ntdev…
i have a global var in the driver called g_Myvar, it is a DWORD

in windbg i want to add a dbkpoint that halts the machine and breaks in only when the value of this var reaches 1. How do I do it. I dnt want to change code of driver.

N.B. that should be dwo() and not poi() for a 32-bit variable.


Ken Johnson (Skywing)
Windows SDK MVP
http://www.nynaeve.net
“Skywing” wrote in message news:xxxxx@ntdev…
You can set a breakpoint that will fire when the variable is read or written with the ba' command. Then, you could add a command to the breakpoint to check if the variables present value is 1, and if not, resume execution (gc’). The WinDbg documentation has more on this; look up the topic on “ba” (break on access).

As an example, though, you might try something like:

ba w4 mydriver!g_Myvar "j poi(mydriver!g_Myvar) == 1 ‘k’ ; 'gc ’ "

(untested, but you should get the idea between that and reading the documentation.)


Ken Johnson (Skywing)
Windows SDK MVP
http://www.nynaeve.net
“A P” wrote in message news:xxxxx@ntdev…
i have a global var in the driver called g_Myvar, it is a DWORD

in windbg i want to add a dbkpoint that halts the machine and breaks in only when the value of this var reaches 1. How do I do it. I dnt want to change code of driver.

Well I have had poi, and it is not too good, but probably if you eat pig
with it, which I don’t, it is better. I’ve never had dwo though.

Seriously, have you ever had the windbg cryptic 1337 conditional
language work?


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Skywing
Sent: Thursday, June 14, 2007 12:44 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] how do i

N.B. that should be dwo() and not poi() for a 32-bit variable.


Ken Johnson (Skywing)
Windows SDK MVP
http://www.nynaeve.net

“Skywing” wrote in message
news:xxxxx@ntdev…

You can set a breakpoint that will fire when the variable is
read or written with the ba' command. Then, you could add a command to<br>the breakpoint to check if the variables present value is 1, and if not,<br>resume execution (gc’). The WinDbg documentation has more on this;
look up the topic on “ba” (break on access).

As an example, though, you might try something like:

ba w4 mydriver!g_Myvar “j poi(mydriver!g_Myvar) == 1 ‘k’ ; 'gc '


(untested, but you should get the idea between that and reading
the documentation.)


Ken Johnson (Skywing)
Windows SDK MVP
http://www.nynaeve.net

“A P” wrote in message
news:xxxxx@ntdev…

i have a global var in the driver called g_Myvar, it is
a DWORD

in windbg i want to add a dbkpoint that halts the
machine and breaks in only when the value of this var reaches 1. How do
I do it. I dnt want to change code of driver.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

I have a similar question.

Is it possible to make windbg mark one disabled breakpoint as ‘enabled’
based on some condition?

I mean i have a brk point say brkpoint ‘0’ and i have marked it as disabled.

Now i have another brkpoint something of a conditoinal sort, like the one
discussed above, and i want that brkpoint to trigger of brkpoint ‘0’, set is
as enabled when it’s condition is satisfied.

Is that possible?

amitr0

On 6/15/07, Roddy, Mark wrote:
>
> Well I have had poi, and it is not too good, but probably if you eat pig
> with it, which I don’t, it is better. I’ve never had dwo though.
>
>
>
> Seriously, have you ever had the windbg cryptic 1337 conditional language
> work?
>
>
> ------------------------------
>
> From: xxxxx@lists.osr.com [mailto:
> xxxxx@lists.osr.com] *On Behalf Of *Skywing
> Sent: Thursday, June 14, 2007 12:44 PM
> To: Windows System Software Devs Interest List
> Subject: Re:[ntdev] how do i
>
>
>
> N.B. that should be dwo() and not poi() for a 32-bit variable.
>
>
> –
> Ken Johnson (Skywing)
> Windows SDK MVP
> http://www.nynaeve.net
>
> “Skywing” wrote in message
> news:xxxxx@ntdev…
>
> You can set a breakpoint that will fire when the variable is read or
> written with the ba' command. Then, you could add a command to the<br>&gt; breakpoint to check if the variables present value is 1, and if not, resume<br>&gt; execution (gc’). The WinDbg documentation has more on this; look up the
> topic on “ba” (break on access).
>
>
>
> As an example, though, you might try something like:
>
>
>
> ba w4 mydriver!g_Myvar "j poi(mydriver!g_Myvar) == 1 ‘k’ ; 'gc ’ "
>
>
>
> (untested, but you should get the idea between that and reading the
> documentation.)
>
>
> –
> Ken Johnson (Skywing)
> Windows SDK MVP
> http://www.nynaeve.net
>
> “A P” wrote in message news:xxxxx@ntdev…
>
> i have a global var in the driver called g_Myvar, it is a DWORD
>
>
> in windbg i want to add a dbkpoint that halts the machine and breaks in
> only when the value of this var reaches 1. How do I do it. I dnt want to
> change code of driver.
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>



- amitr0

It works fine for me. I’m just used to using it instead of the new-fangled' .if’, since that wasn’t around when I learned it.

Of course, a disadvantage to conditional breakpoints that continue execution like this is that there is a significant slowdown each time the condition is evaluated, since control has to be transferred to the debugger, for it to run the script and make the decision. So I wouldn’t use it for some frequent code paths, but other than that fundamental problem (which you would really have with `.if’ as well), I’ve never had much trouble with it.

I do not, however, typically write 1000 line WinDbg script programs. That’s just ugly, ugly, ugly. If I have something that complicated to codify, I would prefer to tack on a one-off in my debugger extension library than try and maintain a script in what appears to be an inherently unmaintainable scripting language. That’s just my view, though…


Ken Johnson (Skywing)
Windows SDK MVP
http://www.nynaeve.net
“Roddy, Mark” wrote in message news:xxxxx@ntdev…
Well I have had poi, and it is not too good, but probably if you eat pig with it, which I don’t, it is better. I’ve never had dwo though.

Seriously, have you ever had the windbg cryptic 1337 conditional language work?

------------------------------------------------------------------------------

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Skywing
Sent: Thursday, June 14, 2007 12:44 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] how do i

N.B. that should be dwo() and not poi() for a 32-bit variable.


Ken Johnson (Skywing)
Windows SDK MVP
http://www.nynaeve.net

“Skywing” wrote in message news:xxxxx@ntdev…

You can set a breakpoint that will fire when the variable is read or written with the ba' command. Then, you could add a command to the breakpoint to check if the variables present value is 1, and if not, resume execution (gc’). The WinDbg documentation has more on this; look up the topic on “ba” (break on access).

As an example, though, you might try something like:

ba w4 mydriver!g_Myvar "j poi(mydriver!g_Myvar) == 1 ‘k’ ; 'gc ’ "

(untested, but you should get the idea between that and reading the documentation.)


Ken Johnson (Skywing)
Windows SDK MVP
http://www.nynaeve.net

“A P” wrote in message news:xxxxx@ntdev…

i have a global var in the driver called g_Myvar, it is a DWORD

in windbg i want to add a dbkpoint that halts the machine and breaks in only when the value of this var reaches 1. How do I do it. I dnt want to change code of driver.


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Sure, be<breakpoint-number>'. A breakpoint command ("conditional breakpoint", though it doesn't actually have to be a conditional execute or continue really) can do pretty much anything you can do at the command line in the debugger.<br><br>I've actually used that in the past to shuffle around a set of hardware breakpoints, since you can only have so many of them. Not pretty, but it does actually work...<br><br>-- <br>Ken Johnson (Skywing)<br>Windows SDK MVP<br>http://www.nynaeve.net<br> "amitr0" <xxxxx> wrote in message news:xxxxx@ntdev...<br> I have a similar question.<br><br>Is it possible to make windbg mark one disabled breakpoint as 'enabled' based on some condition?<br><br>I mean i have a brk point say brkpoint '0' and i have marked it as disabled.<br><br>Now i have another brkpoint something of a conditoinal sort, like the one discussed above, and i want that brkpoint to trigger of brkpoint '0', set is as enabled when it's condition is satisfied.<br><br>Is that possible?<br><br>amitr0<br><br>On 6/15/07, Roddy, Mark <xxxxx> wrote: <br> Well I have had poi, and it is not too good, but probably if you eat pig with it, which I don't, it is better. I've never had dwo though. <br><br>Seriously, have you ever had the windbg cryptic 1337 conditional language work?<br><br>----------------------------------------------------------------------------<br><br>From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Skywing<br> Sent: Thursday, June 14, 2007 12:44 PM<br> To: Windows System Software Devs Interest List<br> Subject: Re:[ntdev] how do i<br><br>N.B. that should be dwo() and not poi() for a 32-bit variable.<br><br>-- <br> Ken Johnson (Skywing)<br> Windows SDK MVP<br> http://www.nynaeve.net<br><br>"Skywing" <xxxxx> wrote in message news:xxxxx@ntdev...<br><br>You can set a breakpoint that will fire when the variable is read or written with the ba’ command. Then, you could add a command to the breakpoint to check if the variables present value is 1, and if not, resume execution (`gc’). The WinDbg documentation has more on this; look up the topic on “ba” (break on access).

As an example, though, you might try something like:

ba w4 mydriver!g_Myvar "j poi(mydriver!g_Myvar) == 1 ‘k’ ; 'gc ’ "

(untested, but you should get the idea between that and reading the documentation.)


Ken Johnson (Skywing)
Windows SDK MVP
http://www.nynaeve.net

“A P” wrote in message news:xxxxx@ntdev…

i have a global var in the driver called g_Myvar, it is a DWORD

in windbg i want to add a dbkpoint that halts the machine and breaks in only when the value of this var reaches 1. How do I do it. I dnt want to change code of driver.


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer



- amitr0

u mean that if i put a brk point command after the brkpoint number, it will
be the condition to enable the brkpoint?

On 6/15/07, Skywing wrote:
>
> Sure, be<breakpoint-number>'. A breakpoint command ("conditional<br>&gt; breakpoint", though it doesn't actually have to be a conditional execute or<br>&gt; continue really) can do pretty much anything you can do at the command line<br>&gt; in the debugger.<br>&gt;<br>&gt; I've actually used that in the past to shuffle around a set of hardware<br>&gt; breakpoints, since you can only have so many of them. Not pretty, but it<br>&gt; does actually work...<br>&gt;<br>&gt; --<br>&gt; Ken Johnson (Skywing)<br>&gt; Windows SDK MVP<br>&gt; http://www.nynaeve.net<br>&gt;<br>&gt; "amitr0" <xxxxx> wrote in message news:xxxxx@ntdev...<br>&gt; I have a similar question.<br>&gt;<br>&gt;<br>&gt; Is it possible to make windbg mark one disabled breakpoint as 'enabled'<br>&gt; based on some condition?<br>&gt;<br>&gt;<br>&gt; I mean i have a brk point say brkpoint '0' and i have marked it as<br>&gt; disabled.<br>&gt;<br>&gt; Now i have another brkpoint something of a conditoinal sort, like the one<br>&gt; discussed above, and i want that brkpoint to trigger of brkpoint '0', set is<br>&gt; as enabled when it's condition is satisfied.<br>&gt;<br>&gt; Is that possible?<br>&gt;<br>&gt; amitr0<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; On 6/15/07, Roddy, Mark <xxxxx> wrote:<br>&gt; &gt;<br>&gt; &gt; Well I have had poi, and it is not too good, but probably if you eat<br>&gt; &gt; pig with it, which I don't, it is better. I've never had dwo though.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Seriously, have you ever had the windbg cryptic 1337 conditional<br>&gt; &gt; language work?<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; ------------------------------<br>&gt; &gt;<br>&gt; &gt; *From:* xxxxx@lists.osr.com [mailto:<br>&gt; &gt; xxxxx@lists.osr.com] *On Behalf Of *Skywing<br>&gt; &gt; *Sent:* Thursday, June 14, 2007 12:44 PM<br>&gt; &gt; *To:* Windows System Software Devs Interest List<br>&gt; &gt; *Subject:* Re:[ntdev] how do i<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; N.B. that should be dwo() and not poi() for a 32-bit variable.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; --<br>&gt; &gt; Ken Johnson (Skywing)<br>&gt; &gt; Windows SDK MVP<br>&gt; &gt; http://www.nynaeve.net<br>&gt; &gt;<br>&gt; &gt; "Skywing" <xxxxx> wrote in message<br>&gt; &gt; news:xxxxx@ntdev...<br>&gt; &gt;<br>&gt; &gt; You can set a breakpoint that will fire when the variable is read or<br>&gt; &gt; written with the ba’ command. Then, you could add a command to the
> > breakpoint to check if the variables present value is 1, and if not, resume
> > execution (`gc’). The WinDbg documentation has more on this; look up the
> > topic on “ba” (break on access).
> >
> >
> >
> > As an example, though, you might try something like:
> >
> >
> >
> > ba w4 mydriver!g_Myvar "j poi(mydriver!g_Myvar) == 1 ‘k’ ; 'gc ’ "
> >
> >
> >
> > (untested, but you should get the idea between that and reading the
> > documentation.)
> >
> >
> > –
> > Ken Johnson (Skywing)
> > Windows SDK MVP
> > http://www.nynaeve.net
> >
> > “A P” wrote in message news:xxxxx@ntdev…
> >
> > i have a global var in the driver called g_Myvar, it is a DWORD
> >
> >
> > in windbg i want to add a dbkpoint that halts the machine and breaks in
> > only when the value of this var reaches 1. How do I do it. I dnt want to
> > change code of driver.
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > To unsubscribe, visit the List Server section of OSR Online at
> > http://www.osronline.com/page.cfm?name=ListServer
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > To unsubscribe, visit the List Server section of OSR Online at
> > http://www.osronline.com/page.cfm?name=ListServer
> >
>
>
>
> –
>
> - amitr0
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>



- amitr0

aaah thanks for the help with the debugger command. but as u rightly
commented, it is making the machine too slow to operate. any suggestions how
to speed up. a work around to get he same result (i.e conditionally breaking
in) without being so slow?

“A P” wrote in message news:xxxxx@ntdev…
> aaah thanks for the help with the debugger command. but as u rightly
> commented, it is making the machine too slow to operate. any suggestions
> how
> to speed up. a work around to get he same result (i.e conditionally
> breaking
> in) without being so slow?

This thread really belongs on windbg.

I know you don’t want to modify the code, but I’ve found the least painful
way to break when a var changes to a certain value is to put __debugbreak()
in the clause of a conditional that matches the state I’m looking for. Put
the whole construct under a flag of some kind, so you can make it disappear
when you need to.

#if (MY_PREPROCESSOR_FLAG)
if(1 == g_MyGlobal)
{
__debugbreak();
}
# endif

I developed this as a direct response to the fact that executing conditional
commands on breakpoints is too slow to be useful.

Phil

Philip D. Barila
Seagate Technology LLC
(720) 684-1842
As if I need to say it: Not speaking for Seagate.

amitr0 wrote:

Is it possible to make windbg mark one disabled breakpoint as
‘enabled’ based on some condition?

I mean i have a brk point say brkpoint ‘0’ and i have marked it as
disabled.

Now i have another brkpoint something of a conditoinal sort, like the
one discussed above, and i want that brkpoint to trigger of brkpoint
‘0’, set is as enabled when it’s condition is satisfied.

Is that possible?

bp first_breakpoint
bd0
bp second_breakpoint “be0;g”


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

thanks everyone for all the help

On 6/15/07, Tim Roberts wrote:
>
> amitr0 wrote:
> >
> > Is it possible to make windbg mark one disabled breakpoint as
> > ‘enabled’ based on some condition?
> >
> > I mean i have a brk point say brkpoint ‘0’ and i have marked it as
> > disabled.
> >
> > Now i have another brkpoint something of a conditoinal sort, like the
> > one discussed above, and i want that brkpoint to trigger of brkpoint
> > ‘0’, set is as enabled when it’s condition is satisfied.
> >
> > Is that possible?
>
>
> bp first_breakpoint
> bd0
> bp second_breakpoint “be0;g”
>
> –
> Tim Roberts, xxxxx@probo.com
> Providenza & Boekelheide, Inc.
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>



- amitr0

amitr0 wrote:

u mean that if i put a brk point command after the brkpoint number, it
will be the condition to enable the brkpoint?

No. The commands after the breakpoint number are executed any time the
breakpoint is hit, just as if you had typed them. So:
bp second_function “be0;g”
says, “when second_function is hit, enable breakpoint 0 and go”. Some
of those commands can be conditional commands.

However, as another poster pointed out, this is very time-consuming if
the breakpoint is hit very often. It takes a lot of work for the
debugger to gain control and execute the macro.


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

It is not as bad on a UP system, but with SMP systems becoming the norm, it
takes the kernel debugger a lot longer to gain control over all the
processors and get the info to the host.


David J. Craig
Engineer, Sr. Staff Software Systems
Broadcom Corporation

“Philip D. Barila” wrote in message
news:xxxxx@ntdev…
> “A P” wrote in message news:xxxxx@ntdev…
>> aaah thanks for the help with the debugger command. but as u rightly
>> commented, it is making the machine too slow to operate. any suggestions
>> how
>> to speed up. a work around to get he same result (i.e conditionally
>> breaking
>> in) without being so slow?
>
> This thread really belongs on windbg.
>
> I know you don’t want to modify the code, but I’ve found the least painful
> way to break when a var changes to a certain value is to put
> __debugbreak() in the clause of a conditional that matches the state I’m
> looking for. Put the whole construct under a flag of some kind, so you
> can make it disappear when you need to.
>
> #if (MY_PREPROCESSOR_FLAG)
> if(1 == g_MyGlobal)
> {
>__debugbreak();
> }
> # endif
>
> I developed this as a direct response to the fact that executing
> conditional commands on breakpoints is too slow to be useful.
>
> Phil
> –
> Philip D. Barila
> Seagate Technology LLC
> (720) 684-1842
> As if I need to say it: Not speaking for Seagate.
>
>

how do i write a windbg script file of commands and how do i invoke it?

On 6/15/07, David J. Craig wrote:
>
> It is not as bad on a UP system, but with SMP systems becoming the norm,
> it
> takes the kernel debugger a lot longer to gain control over all the
> processors and get the info to the host.
>
> –
> David J. Craig
> Engineer, Sr. Staff Software Systems
> Broadcom Corporation
>
>
> “Philip D. Barila” wrote in message
> news:xxxxx@ntdev…
> > “A P” wrote in message news:xxxxx@ntdev…
> >> aaah thanks for the help with the debugger command. but as u rightly
> >> commented, it is making the machine too slow to operate. any
> suggestions
> >> how
> >> to speed up. a work around to get he same result (i.e conditionally
> >> breaking
> >> in) without being so slow?
> >
> > This thread really belongs on windbg.
> >
> > I know you don’t want to modify the code, but I’ve found the least
> painful
> > way to break when a var changes to a certain value is to put
> > __debugbreak() in the clause of a conditional that matches the state I’m
> > looking for. Put the whole construct under a flag of some kind, so you
> > can make it disappear when you need to.
> >
> > #if (MY_PREPROCESSOR_FLAG)
> > if(1 == g_MyGlobal)
> > {
> >__debugbreak();
> > }
> > # endif
> >
> > I developed this as a direct response to the fact that executing
> > conditional commands on breakpoints is too slow to be useful.
> >
> > Phil
> > –
> > Philip D. Barila
> > Seagate Technology LLC
> > (720) 684-1842
> > As if I need to say it: Not speaking for Seagate.
> >
> >
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>

I know it is a strange request but anyway, would you mind to make a
quick look into WinDbg help file?

Michal


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of A P
Sent: Tuesday, June 19, 2007 1:29 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] how do i

how do i write a windbg script file of commands and how do i invoke it?

You are far too polite. The correct answer is: RTFM. Actually the correct
answer is: post this in the windbg newsgroup or email list, and let them
suggest RTFM.

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Michal Vodicka
Sent: Tuesday, June 19, 2007 6:28 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] how do i

I know it is a strange request but anyway, would you mind to make a quick
look into WinDbg help file?

Michal


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of A P
Sent: Tuesday, June 19, 2007 1:29 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] how do i

how do i write a windbg script file of commands and how do i invoke it?


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

hello everyone,

no offence meant but …

given the option of chosing b/w

You are far too polite. The correct answer is: RTFM. Actually the correct
answer is: post this in the windbg newsgroup or email list, and let them
suggest RTFM.
AND

I know it is a strange request but anyway, would you mind to make a quick
look into WinDbg help file?
I will go for the second one.

  1. It doesnt hurt to be polite But it does hurt someone if u are im-polite.
  2. it some post is getting on your nerves, simply dont answer it.
  3. search strings always dont yield the correct answers. All depends on what
    the string was.
  4. u really dnt know who u are talking to, right? so y hurt the PVOID’s
    feelings :slight_smile:

AP, try googiling on these things. ALso, I have found from my experience
here in this grp that asking to the point questions fetch u better answers
and less wrath. after all most of the guys here are also very very busy, so
writing oout long tutorials might not be feasible.

lastly, once again, I dont intend to hurt any one here, but these are
principles i follow.

thanks

Amitr0

On 6/20/07, Mark Roddy wrote:
>
> You are far too polite. The correct answer is: RTFM. Actually the correct
> answer is: post this in the windbg newsgroup or email list, and let them
> suggest RTFM.
>
>
>
> From: xxxxx@lists.osr.com [mailto:
> xxxxx@lists.osr.com] *On Behalf Of *Michal Vodicka
> Sent: Tuesday, June 19, 2007 6:28 PM
> To: Windows System Software Devs Interest List
> Subject: RE: [ntdev] how do i
>
>
>
> I know it is a strange request but anyway, would you mind to make a quick
> look into WinDbg help file?
>
>
>
> Michal
>
>
> ------------------------------
>
> From: xxxxx@lists.osr.com [mailto:
> xxxxx@lists.osr.com] *On Behalf Of *A P
> Sent: Tuesday, June 19, 2007 1:29 PM
> To: Windows System Software Devs Interest List
> Subject: Re: [ntdev] how do i
>
>
>
> how do i write a windbg script file of commands and how do i invoke it?
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>



- amitr0