New Kernel Debugger Extension List.

Hi,
Is anyone successful in building the sample extension dll in
directory “exts”? I tried really hard to build this, first it complains
saying it could not find jvc.exe file. After searching in MSDN i found this
has something to do with Visual J++. I installed Visual J++ looking for the
CD in 1000+ cds on MSDN subsription.
After installation it does not complain about anything, there is no
*.err file, no errors are reported by build. But i do not have clue about
what build has done. There is no dbgexts.dll or any new dbgexts.* file on my
whole drive.

Any help would be appreciated. new degguer engine interface is really
powerful(dbgexts.h file), but what would i do with it, if i can’t even
compile a sample file. :((

-Srin.

Hi,
I had the same problem, the DDK does not like to build these extsions if the
path to them contains long filenames or dirs with spaces. Copy the SDK dir
to a dir like c:\windbg and they should build ok.

Yours
Roger


Roger Coote,
Senior Design Engineer
PowerVR Technologies, A Division of Imagination Technologies Ltd
Home Park Estate, Kings Langley, Hertfordshire, WD4 8LZ, UK
phone :+44 (1923) 260511 fax :+44 (1923) 268969
direct :+44 (1923) 277274
mailto:xxxxx@powervr.com www.powervr.com


-----Original Message-----
From: xxxxx@NAI.com [mailto:xxxxx@NAI.com]
Sent: 29 March 2002 23:51
To: Kernel Debugging Interest List
Subject: [windbg] New Kernel Debugger Extension List.

Hi,
Is anyone successful in building the sample extension dll in
directory “exts”? I tried really hard to build this, first it complains
saying it could not find jvc.exe file. After searching in MSDN i found this
has something to do with Visual J++. I installed Visual J++ looking for the
CD in 1000+ cds on MSDN subsription.
After installation it does not complain about anything, there is no
*.err file, no errors are reported by build. But i do not have clue about
what build has done. There is no dbgexts.dll or any new dbgexts.* file on my
whole drive.

Any help would be appreciated. new degguer engine interface is really
powerful(dbgexts.h file), but what would i do with it, if i can’t even
compile a sample file. :((

-Srin.


You are currently subscribed to windbg as: xxxxx@videologic.com
To unsubscribe send a blank email to %%email.unsub%%

Hi Roger,
what you said is right. After copying sdk directory to \windbg build
works. But i am not able to still build. It is erroring out, do you happen
to build the samples from 6.0.0007.

If i add “INCLUDES=…..\inc” to sources file so that build could get
dbgeng.h file, dbgexts.rc file chokes out looking for “macwin32.h”. I have
no clue how _MAC gets defined.

If i do not add INCLUDES line to sources and copy dbgeng.h and wdbgexts.h
file to sdk\samples\exts directory build is complaining about FORCEINLINE,
if i remove this it is complaining about DBG_COMMAND_EXCEPTION not defined.

did you face these problems too, Or i am doing something wrong?

Thanks very much for your earlier reply.
-Srin.

-----Original Message-----
From: Roger Coote [mailto:xxxxx@videologic.com]
Sent: Saturday, March 30, 2002 12:33 AM
To: Kernel Debugging Interest List
Subject: [windbg] RE: New Kernel Debugger Extension List.

Hi,
I had the same problem, the DDK does not like to build these extsions if the
path to them contains long filenames or dirs with spaces. Copy the SDK dir
to a dir like c:\windbg and they should build ok.

Yours
Roger


Roger Coote,
Senior Design Engineer
PowerVR Technologies, A Division of Imagination Technologies Ltd
Home Park Estate, Kings Langley, Hertfordshire, WD4 8LZ, UK
phone :+44 (1923) 260511 fax :+44 (1923) 268969
direct :+44 (1923) 277274
mailto:xxxxx@powervr.com www.powervr.com


-----Original Message-----
From: xxxxx@NAI.com [mailto:xxxxx@NAI.com]
Sent: 29 March 2002 23:51
To: Kernel Debugging Interest List
Subject: [windbg] New Kernel Debugger Extension List.

Hi,
Is anyone successful in building the sample extension dll in
directory “exts”? I tried really hard to build this, first it complains
saying it could not find jvc.exe file. After searching in MSDN i found this
has something to do with Visual J++. I installed Visual J++ looking for the
CD in 1000+ cds on MSDN subsription.
After installation it does not complain about anything, there is no
*.err file, no errors are reported by build. But i do not have clue about
what build has done. There is no dbgexts.dll or any new dbgexts.* file on my
whole drive.

Any help would be appreciated. new degguer engine interface is really
powerful(dbgexts.h file), but what would i do with it, if i can’t even
compile a sample file. :((

-Srin.


You are currently subscribed to windbg as: xxxxx@videologic.com
To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to windbg as: xxxxx@nai.com
To unsubscribe send a blank email to %%email.unsub%%

Hi,

I want to try to set BP when I do kernel mode debugging using via NULL
modem.
I can set BP in usermode debug, but I can’t set BP in kernel mode debugging.
How should I do?

(ex. I want to set BP some function when snmp.exe start at the system
boot.)
> x bhmon!* (network monitor agent) —> I can’t do that…
> bp !SnmpExtensionInit—> I can’t do that…

Any idea?

Thnaks
Kimi

When debugging UM code via KD you need to be mindful what process
context you are in. It sounds like you are in the wrong process, and
that process does not have the modules you are interesting in loaded.

Check out “.process” in the docs to learn how to change the “current”
process. Once in the right process these commands should work fine.

-----Original Message-----
From: xxxxx@citrix.co.jp [mailto:xxxxx@citrix.co.jp]

Sent: Monday, April 01, 2002 7:09 PM
To: Kernel Debugging Interest List
Subject: [windbg] RE: New Kernel Debugger Extension List.

Hi,

I want to try to set BP when I do kernel mode debugging using via NULL
modem.
I can set BP in usermode debug, but I can’t set BP in kernel mode
debugging. How should I do?

(ex. I want to set BP some function when snmp.exe start at the system
boot.)
> x bhmon!* (network monitor agent) —> I can’t do that…
> bp !SnmpExtensionInit—> I can’t do that…

Any idea?

Thnaks
Kimi


You are currently subscribed to windbg as: xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%

Hi,
Yes I have to add the INCLUDE line and the following line to dbgeng.h :

#define DBG_COMMAND_EXCEPTION 0x40010009

Here is my build log if it helps.

Yours
Roger


Roger Coote,
Senior Design Engineer
PowerVR Technologies, A Division of Imagination Technologies Ltd
Home Park Estate, Kings Langley, Hertfordshire, WD4 8LZ, UK
phone :+44 (1923) 260511 fax :+44 (1923) 268969
direct :+44 (1923) 277274
mailto:xxxxx@powervr.com www.powervr.com


-----Original Message-----
From: xxxxx@NAI.com [mailto:xxxxx@NAI.com]
Sent: 31 March 2002 08:25
To: Kernel Debugging Interest List
Cc: xxxxx@microsoft.com
Subject: [windbg] RE: New Kernel Debugger Extension List.

Hi Roger,
what you said is right. After copying sdk directory to \windbg build
works. But i am not able to still build. It is erroring out, do you happen
to build the samples from 6.0.0007.

If i add “INCLUDES=…..\inc” to sources file so that build could get
dbgeng.h file, dbgexts.rc file chokes out looking for “macwin32.h”. I have
no clue how _MAC gets defined.

If i do not add INCLUDES line to sources and copy dbgeng.h and wdbgexts.h
file to sdk\samples\exts directory build is complaining about FORCEINLINE,
if i remove this it is complaining about DBG_COMMAND_EXCEPTION not defined.

did you face these problems too, Or i am doing something wrong?

Thanks very much for your earlier reply.
-Srin.

-----Original Message-----
From: Roger Coote [mailto:xxxxx@videologic.com]
Sent: Saturday, March 30, 2002 12:33 AM
To: Kernel Debugging Interest List
Subject: [windbg] RE: New Kernel Debugger Extension List.

Hi,
I had the same problem, the DDK does not like to build these extsions if the
path to them contains long filenames or dirs with spaces. Copy the SDK dir
to a dir like c:\windbg and they should build ok.

Yours
Roger


Roger Coote,
Senior Design Engineer
PowerVR Technologies, A Division of Imagination Technologies Ltd
Home Park Estate, Kings Langley, Hertfordshire, WD4 8LZ, UK
phone :+44 (1923) 260511 fax :+44 (1923) 268969
direct :+44 (1923) 277274
mailto:xxxxx@powervr.com www.powervr.com


-----Original Message-----
From: xxxxx@NAI.com [mailto:xxxxx@NAI.com]
Sent: 29 March 2002 23:51
To: Kernel Debugging Interest List
Subject: [windbg] New Kernel Debugger Extension List.

Hi,
Is anyone successful in building the sample extension dll in
directory “exts”? I tried really hard to build this, first it complains
saying it could not find jvc.exe file. After searching in MSDN i found this
has something to do with Visual J++. I installed Visual J++ looking for the
CD in 1000+ cds on MSDN subsription.
After installation it does not complain about anything, there is no
*.err file, no errors are reported by build. But i do not have clue about
what build has done. There is no dbgexts.dll or any new dbgexts.* file on my
whole drive.

Any help would be appreciated. new degguer engine interface is really
powerful(dbgexts.h file), but what would i do with it, if i can’t even
compile a sample file. :((

-Srin.


You are currently subscribed to windbg as: xxxxx@videologic.com
To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to windbg as: xxxxx@nai.com
To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to windbg as: xxxxx@videologic.com
To unsubscribe send a blank email to %%email.unsub%%

begin 600 buildchk.log
M0E5)3$0Z($-O;7!U=&EN9R!);F-L=61E(&9I;&4@9&5P96YD96YC:65S.@I"
M54E,1#xxxxx@17AA;6EN:6YG(&0Z7’!R;VIE8W1S7’=I;F1B9UQS9&M<M‘1S(&1I2!F;W(@9FEL97,@=&@8V]M<&EL92X0V]M<&EL
M:6YG(&0Z7’!R;VIE8W1S7’=I;F1B9UQS9&M<‘1S(&1IM=&]R>2J*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*@HG;FUA:V4N97AE("]C($)524Q$<br>M35-'/5-T;WN("UI($Y45$535#xxxxx@54U415-4/2!.3TQ)3DL],2!.3U!!4U,P
M/3$@,S@V/3$G"B@("!R8RM;"T,#D@+4136%-?05-314U"3%E?3D%-13TB<br>M(B(B(B(@("U$4UA37T%34T5-0DQ97U9%4E-)3TX](B(B(B(B("M1%-84U]!
M4U-%34),65],04Y’54%‘13TB(B(B(B(@("U$4UA37U!23T-%4U-/4E]!4D-(
M251%0U154D4](B(B>#@V(B(B("M1%-84U]405)'150](B(B9&amp;)G97AT<ryd>M;&amp;PB(B(@("M1%-94U1%35]#3TU0051)0DQ%7T%34T5-0DQ97TY!344](B(B
M36ECM5$5-7T-/35!!5$E"3$5?05-314U"3%E?3D%-13U,(B(B36ECM;F1O=W,N4WES=&5M0V]M<&%T:6)L92(B(B@("UZ(")-4R!386YS(%-E<fef>M+$AE;'8O35,@4VAE;&amp;xxxxx@1&amp;QG(B@+7(@+69O(&]B:F-H:UQI,S@V7&1B9V5X
M=’,N=&UP("U$xxxxx@X-E],2M1&amp;DS.#8],2@+4135$1?0T%,3"M1$-/3D1)<br>M5$E/3E](04Y$3$E.1STQ("@+41.5%])3E-4/3@+41724XS,CTQ,#@+41?
M3E0Q6%],3P("U$5TE.3E0],2M1%]724XS,E]724Y.5#TP>#U,#$@+T17<br>M24Y615(],'@P-3Q(“U$7U=)3C,R7TE%/3!X,#8P,”@("M1%=)3C,R7TQ%
M04Y?04Y$7TU%04X],2M1$1"1STQ("U$1$563#TQ("U$7U]"54E,1$U!0TA)<br>M3D5?7SU7:6Y$1$L@+41&amp;4$\],"@+41.1$5"54<@+41?1$Q,/3$@+41?350]
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E](04Y$3$E.1STQ(”@+41.5%])3E-4/3@+41724XS,CTQ,#@+41?<br>M3E0Q6%\],3P("U$5TE.3E0],2M1%]724XS,E]724Y.5#TP&gt;#U,#$@+T17
M24Y615(],‘@P-3Q("U$7U=)3C,R7TE%/3!X,#8P,"@(“M1%=)3C,R7TQ%<br>M04Y?04Y$7TU%04X],2M1$1"1STQ(“U$1$563#TQ(“U$7U]“54E,1$U!0TA)
M3D5?7SU7:6Y$1$L@+41&4$],”@+41.1$5"54&lt;@+41?1$Q,/3$@+41?350]<br>M,2@(”@("]C("]:96P@+UIP."O1WD@(”]7-“O5U@@+U=8("]'&gt;B@+U%)
M9F1I=BT@+U%)9BO1S8@+T=I+2O1VTM(”]'6"T@(”]‘4BT@+T=&(“M6C&lt;@<br>M+T]D("]/:2O3WDM(”@+49)0SI&lt;5TE.1$1+7#(V,#!&lt;:6YC7'=X&lt;%QW87)N<br>M:6YG+F@@("@("Y<97ATM8VAK7&DS.#9<9&)G97ATryl:6M3EQ,3T-!3%-^,5Q496UP7&YM83Q,#@P+@T*36EC<f>M87)Y($UA;F%G97(@5F5R<veo>M36EC<f>M"@T*+4E'3D]213HT,#$P+#0P,S<l->M+#0P.#DL-#$Y."PT,C(Q(T*+U=8(T*+6YO9&amp;5F875L=&amp;QI8B-"BUM86-H
M:6YE.FEX.#8@#0HM9&5F.F1B9V5X=’,N9&5F(T*;V)J8VAK7&amp;DS.#9&lt;9&amp;)G<br>M97AT<ryr97>'1S+F]B:B-"F]B:F-H:UQI
M,S@V7&5X=’,N;V)J(T*("@0W)E871I;F<@;&EB2!O8FIC:&M<:3,X
M-EQD8F=E>‘1S+FQI8B!A;F0@;V)J96-T(&]B:F-H:UQI,S@V7&1B9V5X=’,N
M97AP#0H-“E-T;WN#0I,:6YK:6YG(&amp;0Z7'!R;VIE8W1S7'=I;F1B9UQS9&amp;M&lt;<br>M<v>'1S(&amp;1I<f5c>2JBHJBHJBHJBHJBHJBHJ*@HG
M;FUA:V4N97AE(”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