[WinDbg] Target PC is slow in debug mode

Dear all,
?
??? I used Host PC 32 bit to debug target PC Vista 32 bit.
After Target PC restarts in debug mode. It’s connected
with Host PC by COM port ( baudrate 115200).
?

I use command ( kd > ed? Kd_Default_Mask 0x8)? from Host to enable the debug print.

?
However, the target PC runs very slowly . I can move the mouse very very
slowly .
?
#Note : In normal mode , my PC runs well.( I don’ install many program )
?
Here’s information of my PC ( Vista SP2 32 bit , RAM 2GB, Core 2Duo 2,66GHz )
?
Do you have experience about this ?
?

---------------------------------------
Nguyen Nhat Han
MobiPhone : 0906.739.923
C?ng ty : Cty TNHH Thiet ke Renesas
---------------------------------------

— On Tue, 7/26/11, Calin Iaru wrote:

From: Calin Iaru
Subject: Re: [windbg] need help regarding how to see boot level debug messages
To: “Kernel Debugging Interest List”
Date: Tuesday, July 26, 2011, 8:53 PM

On Vista+, the “Debug Print Filter” key must be enabled:

? reg add “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Debug Print Filter” /v DEFAULT /t REG_DWORD /D 15

DbgView can log boot messages: Capture/Log Boot menu.

From: chaitanya kulkarni
To: Kernel Debugging Interest List
Sent: Tuesday, July 26, 2011 3:43 PM
Subject: [windbg] need help regarding how to see boot level debug messages

Hi,

I am currently studying diskperf driver and modifying its AddDevice routine.

Adddevice routine for diskperf getting called by PNP manager while system is booting for each disk present in system.

Can someone please let me know how to capture messages produced by AddDevice routine while system is booting.

Can I use DbgView Utility to do the same?

Thanks in advance.


Thanks and Regards,
Chaitanya Kulkarni
— 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

Your first problem is using a COM port for debug. If you can go to 1394. Secondly, are you using a lot of debug print statements? If so, most likely you will find that is the most likely cause of target response slowness during debug. A quick yes would be to run the system without WinDbg connected.

Gary Little
H 952 2231349
C 952 4544629
xxxxx@comcast.net

On Jul 26, 2011, at 9:05 AM, Nhat Han wrote:

Dear all,

I used Host PC 32 bit to debug target PC Vista 32 bit.
After Target PC restarts in debug mode. It’s connected
with Host PC by COM port ( baudrate 115200).

I use command ( kd > ed Kd_Default_Mask 0x8) from Host to enable the debug print.

However, the target PC runs very slowly . I can move the mouse very very
slowly .

#Note : In normal mode , my PC runs well.( I don’ install many program )

Here’s information of my PC ( Vista SP2 32 bit , RAM 2GB, Core 2Duo 2,66GHz )

Do you have experience about this ?
>
>
> ---------------------------------------
> Nguyen Nhat Han
> MobiPhone : 0906.739.923
> C?ng ty : Cty TNHH Thiet ke Renesas
> ---------------------------------------
>
> — On Tue, 7/26/11, Calin Iaru wrote:
>
> From: Calin Iaru
> Subject: Re: [windbg] need help regarding how to see boot level debug messages
> To: “Kernel Debugging Interest List”
> Date: Tuesday, July 26, 2011, 8:53 PM
>
> On Vista+, the “Debug Print Filter” key must be enabled:
> reg add “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Debug Print Filter” /v DEFAULT /t REG_DWORD /D 15
>
> DbgView can log boot messages: Capture/Log Boot menu.
>
> From: chaitanya kulkarni
> To: Kernel Debugging Interest List
> Sent: Tuesday, July 26, 2011 3:43 PM
> Subject: [windbg] need help regarding how to see boot level debug messages
>
> Hi,
>
> I am currently studying diskperf driver and modifying its AddDevice routine.
>
> Adddevice routine for diskperf getting called by PNP manager while system is booting for each disk present in system.
>
> Can someone please let me know how to capture messages produced by AddDevice routine while system is booting.
>
> Can I use DbgView Utility to do the same?
>
> Thanks in advance.
>
> –
> Thanks and Regards,
> Chaitanya Kulkarni
> — 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

That should be a “quick test”.

Gary Little
H 952 2231349
C 952 4544629
xxxxx@comcast.net

On Jul 26, 2011, at 9:24 AM, Gary Little wrote:

Your first problem is using a COM port for debug. If you can go to 1394. Secondly, are you using a lot of debug print statements? If so, most likely you will find that is the most likely cause of target response slowness during debug. A quick yes would be to run the system without WinDbg connected.

Gary Little
H 952 2231349
C 952 4544629
xxxxx@comcast.net

On Jul 26, 2011, at 9:05 AM, Nhat Han wrote:

> Dear all,
>
> I used Host PC 32 bit to debug target PC Vista 32 bit.
> After Target PC restarts in debug mode. It’s connected
> with Host PC by COM port ( baudrate 115200).
>
> # I use command ( kd > ed Kd_Default_Mask 0x8) from Host to enable the debug print.
>
> However, the target PC runs very slowly . I can move the mouse very very
> slowly .
>
> #Note : In normal mode , my PC runs well.( I don’ install many program )
>
> Here’s information of my PC ( Vista SP2 32 bit , RAM 2GB, Core 2Duo 2,66GHz )
>
> Do you have experience about this ?
>>
>>
>> ---------------------------------------
>> Nguyen Nhat Han
>> MobiPhone : 0906.739.923
>> C?ng ty : Cty TNHH Thiet ke Renesas
>> ---------------------------------------
>>
>> — On Tue, 7/26/11, Calin Iaru wrote:
>>
>> From: Calin Iaru
>> Subject: Re: [windbg] need help regarding how to see boot level debug messages
>> To: “Kernel Debugging Interest List”
>> Date: Tuesday, July 26, 2011, 8:53 PM
>>
>> On Vista+, the “Debug Print Filter” key must be enabled:
>> reg add “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Debug Print Filter” /v DEFAULT /t REG_DWORD /D 15
>>
>> DbgView can log boot messages: Capture/Log Boot menu.
>>
>> From: chaitanya kulkarni
>> To: Kernel Debugging Interest List
>> Sent: Tuesday, July 26, 2011 3:43 PM
>> Subject: [windbg] need help regarding how to see boot level debug messages
>>
>> Hi,
>>
>> I am currently studying diskperf driver and modifying its AddDevice routine.
>>
>> Adddevice routine for diskperf getting called by PNP manager while system is booting for each disk present in system.
>>
>> Can someone please let me know how to capture messages produced by AddDevice routine while system is booting.
>>
>> Can I use DbgView Utility to do the same?
>>
>> Thanks in advance.
>>
>> –
>> Thanks and Regards,
>> Chaitanya Kulkarni
>> — 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

Dear Gary,
?
Thank you very much for your help!
?

I don’t print many . Only some lines of debugging are outputted from target PC.

Currently , I don’t have 1394 cable but I’ll check to use

?in case my COM still makes PC slow.
?
Best Regards
HanNguyen

Nguyen Nhat Han
MobiPhone : 0906.739.923
C?ng ty : Cty TNHH Thiet ke Renesas

— On Tue, 7/26/11, Gary Little wrote:

From: Gary Little
Subject: Re: [windbg] [WinDbg] Target PC is slow in debug mode
To: “Kernel Debugging Interest List”
Date: Tuesday, July 26, 2011, 9:28 PM

That should be a “quick test”.

Gary Little
H 952 2231349
C 952 4544629
xxxxx@comcast.net

On Jul 26, 2011, at 9:24 AM, Gary Little wrote:

Your first problem is using a COM port for debug. If you can go to 1394. Secondly, are you using a lot of debug print statements? If so, most likely you will find that is the most likely cause of target response slowness during debug. A quick yes would be to run the system without WinDbg connected.

Gary Little
H 952 2231349
C 952 4544629
xxxxx@comcast.net

On Jul 26, 2011, at 9:05 AM, Nhat Han wrote:

Dear all,
?
??? I used Host PC 32 bit to debug target PC Vista 32 bit.
After Target PC restarts in debug mode. It’s connected
with Host PC by COM port ( baudrate 115200).
?
# I use command ( kd > ed? Kd_Default_Mask 0x8)? from Host to enable the debug print.
?
However, the target PC runs very slowly . I can move the mouse very very
slowly .
?
#Note : In normal mode , my PC runs well.( I don’ install many program )
?
Here’s information of my PC ( Vista SP2 32 bit , RAM 2GB, Core 2Duo 2,66GHz )
?
Do you have experience about this ?
?

---------------------------------------
Nguyen Nhat Han
MobiPhone : 0906.739.923
C?ng ty : Cty TNHH Thiet ke Renesas
---------------------------------------

— On Tue, 7/26/11, Calin Iaru wrote:

From: Calin Iaru
Subject: Re: [windbg] need help regarding how to see boot level debug messages
To: “Kernel Debugging Interest List”
Date: Tuesday, July 26, 2011, 8:53 PM

On Vista+, the “Debug Print Filter” key must be enabled:

? reg add “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Debug Print Filter” /v DEFAULT /t REG_DWORD /D 15

DbgView can log boot messages: Capture/Log Boot menu.

From: chaitanya kulkarni
To: Kernel Debugging Interest List
Sent: Tuesday, July 26, 2011 3:43 PM
Subject: [windbg] need help regarding how to see boot level debug messages

Hi,

I am currently studying diskperf driver and modifying its AddDevice routine.

Adddevice routine for diskperf getting called by PNP manager while system is booting for each disk present in system.

Can someone please let me know how to capture messages produced by AddDevice routine while system is booting.

Can I use DbgView Utility to do the same?

Thanks in advance.


Thanks and Regards,
Chaitanya Kulkarni
— 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

Ok, but did you do the quick test? Disconnect WinDbg and run your driver?

Gary Little
H 952 2231349
C 952 4544629
xxxxx@comcast.net

On Jul 26, 2011, at 10:11 AM, Nhat Han wrote:

Dear Gary,

Thank you very much for your help!

I don’t print many . Only some lines of debugging are outputted from target PC.

Currently , I don’t have 1394 cable but I’ll check to use

in case my COM still makes PC slow.

Best Regards
HanNguyen

Nguyen Nhat Han
MobiPhone : 0906.739.923
C?ng ty : Cty TNHH Thiet ke Renesas

— On Tue, 7/26/11, Gary Little wrote:
>
> From: Gary Little
> Subject: Re: [windbg] [WinDbg] Target PC is slow in debug mode
> To: “Kernel Debugging Interest List”
> Date: Tuesday, July 26, 2011, 9:28 PM
>
> That should be a “quick test”.
>
> Gary Little
> H 952 2231349
> C 952 4544629
> xxxxx@comcast.net
>
>
>
> On Jul 26, 2011, at 9:24 AM, Gary Little wrote:
>
>> Your first problem is using a COM port for debug. If you can go to 1394. Secondly, are you using a lot of debug print statements? If so, most likely you will find that is the most likely cause of target response slowness during debug. A quick yes would be to run the system without WinDbg connected.
>>
>> Gary Little
>> H 952 2231349
>> C 952 4544629
>> xxxxx@comcast.net
>>
>>
>>
>> On Jul 26, 2011, at 9:05 AM, Nhat Han wrote:
>>
>>> Dear all,
>>>
>>> I used Host PC 32 bit to debug target PC Vista 32 bit.
>>> After Target PC restarts in debug mode. It’s connected
>>> with Host PC by COM port ( baudrate 115200).
>>>
>>> # I use command ( kd > ed Kd_Default_Mask 0x8) from Host to enable the debug print.
>>>
>>> However, the target PC runs very slowly . I can move the mouse very very
>>> slowly .
>>>
>>> #Note : In normal mode , my PC runs well.( I don’ install many program )
>>>
>>> Here’s information of my PC ( Vista SP2 32 bit , RAM 2GB, Core 2Duo 2,66GHz )
>>>
>>> Do you have experience about this ?
>>>
>>>
>>> ---------------------------------------
>>> Nguyen Nhat Han
>>> MobiPhone : 0906.739.923
>>> C?ng ty : Cty TNHH Thiet ke Renesas
>>> ---------------------------------------
>>>
>>> — On Tue, 7/26/11, Calin Iaru wrote:
>>>
>>> From: Calin Iaru
>>> Subject: Re: [windbg] need help regarding how to see boot level debug messages
>>> To: “Kernel Debugging Interest List”
>>> Date: Tuesday, July 26, 2011, 8:53 PM
>>>
>>> On Vista+, the “Debug Print Filter” key must be enabled:
>>> reg add “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Debug Print Filter” /v DEFAULT /t REG_DWORD /D 15
>>>
>>> DbgView can log boot messages: Capture/Log Boot menu.
>>>
>>> From: chaitanya kulkarni
>>> To: Kernel Debugging Interest List
>>> Sent: Tuesday, July 26, 2011 3:43 PM
>>> Subject: [windbg] need help regarding how to see boot level debug messages
>>>
>>> Hi,
>>>
>>> I am currently studying diskperf driver and modifying its AddDevice routine.
>>>
>>> Adddevice routine for diskperf getting called by PNP manager while system is booting for each disk present in system.
>>>
>>> Can someone please let me know how to capture messages produced by AddDevice routine while system is booting.
>>>
>>> Can I use DbgView Utility to do the same?
>>>
>>> Thanks in advance.
>>>
>>> –
>>> Thanks and Regards,
>>> Chaitanya Kulkarni
>>> — 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
> — 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