Advanced Search
Welcome to Omgili,
Omgili (Oh My God I Love It ;) is a search engine for discussions. With Omgili you can find answers and solutions, debates, discussions, personal experiences, opinions and more... To learn more about Omgili click here.

This is a complete preview of the discussion as it was indexed by Omgili crawlers. Use this preview if the original discussion is unavailable.
Click here to view the original discussion.

Vista Home WinDBG Debugging - rohitab.com - Forums

Posted 19 March 2009 - 09:29 PM Hi, I'm currently having a problem enabling local kernel debugging using WinBDG. I am using the Vista Home Premium operating system. After going to File>Kernel Debug>Local, I see the following: Obviously this is not what is supposed to happen.

So I googled around and found a few possible solutions: http://www.nynaeve.net/?p=114 From an elevated (administrator level) cmd.exe I issued the following commands: C:\Program Files\Debugging Tools for Windows>bcdedit /debug on The operation completed successfully. C:\Program Files\Debugging Tools for Windows>bcdedit /dbgsettings debugtype Serial debugstart Disable noumex Yes However, after rebooting and running an elevated WinDBG, I am issued the same error as in the picture above. Then I tried the following: C:\Program Files\Debugging Tools for Windows>kdbgctrl.exe -db Unable to set Kernel debugger block-enable, NTSTATUS 0xC0000354 An attempt to do an operation on a debug port failed because the port is in the process of being deleted. C:\Program Files\Debugging Tools for Windows>kdbgctrl.exe -e Unable to enable kernel debugger, NTSTATUS 0xC0000354 An attempt to do an operation on a debug port failed because the port is in the process of being deleted. C:\Program Files\Debugging Tools for Windows>kd -kl Microsoft ® Windows Debugger Version 6.6.0007.5 Copyright © Microsoft Corporation.

All rights reserved. Debugger can't get KD version information, Win32 error 5 It seems that nothing I do is allowing me to enable kernel debugging. Any help or suggestions are welcome.

I hope I have included all the information needed.

Posted 19 March 2009 - 09:44 PM you might not want to set it to use the serial port.

Posted 19 March 2009 - 10:12 PM I'm not sure the debug type has anything to do with it.

As the only options are serial, firewire, and usb.

Since I'm doing local debugging, none of these really apply.

But perhaps I'm wrong. bcdedit /dbgsettings [ <debugtype>

[DEBUGPORT:<port>] [BAUDRATE:<baud>] [CHANNEL:<channel>] [TARGETNAME:<targetname>] /start <startpolicy>

/noemux ] <debugtype>

Specifies the type of debugger.

<debugtype>

Can be one of SERIAL, 1394 or USB. Any help for this confused debugger is still appreciated.

Posted 20 March 2009 - 03:03 AM set it to USB and hope that works?

Posted 20 March 2009 - 03:14 AM Appears to be the same error, even after choosing another debugging type: C:\Program Files\Debugging Tools for Windows>bcdedit /dbgsettings debugtype 1394 debugstart Disable noumex Yes C:\Program Files\Debugging Tools for Windows>kdbgctrl.exe -db Unable to set Kernel debugger block-enable, NTSTATUS 0xC0000354 An attempt to do an operation on a debug port failed because the port is in the process of being deleted. C:\Program Files\Debugging Tools for Windows>kdbgctrl.exe -e Unable to enable kernel debugger, NTSTATUS 0xC0000354 An attempt to do an operation on a debug port failed because the port is in the process of being deleted. Elevated WinDBG reports the exact same error.

I'm not really sure how to proceed.

Anyone's help or advice would be good as this seems to be an important task even if it is Vista Home edition.

As a last resort I will switch to softice although I doubt it will perform any better.

Posted 20 March 2009 - 09:51 AM I think you'll find it might be in relation to it being VISTA Home Edition.

Perhaps kernel debugging is only available in the Checked build and not on the Release build. Napalm

Discussion Title: Vista Home WinDBG Debugging
Title Keywords: Vista  Home  WinDBG  Debugging  rohitab.com  Forums