The system does not support local kernel debugging.

When I tried to do local kernel debugging to some information about the system, it gives me the following message.

The system does not support local kernel debugging.

“Local kernel debugging requires Windows XP, Administrative
privileges, and is not supported by WOW64.
Only a single local kernel debugging session can run at a time.
Local kernel debugging is disabled by default in Windows Vista, you must run ‘bcdedit -debug on’ and reboot to enable it.?”

The thing is that I have enabled the debugging and I see that it is enabled in bcdedit enum / msconfig. Also I ran windbg as administrator.

Is there something I am missing?
Thanks in advance!

YEH

From your post

>Local kernel debugging requires Windows XP<<

and

>I see that it is enabled in bcdedit

Which indicates; you are at XP

>>Which indicates; you are at XP

read as, not at XP.

What OS are you trying to do local kernel debugging on?

If it is not Windows 8, and the kernel transport that you have specified in bcd fails to initialize (because the hardware is not in the machine), then local kernel debugging won’t work either.

Yes, that is stupid, but that is the way it is. (in other words, make sure that whatever transport is specified, has hardware in the box so init will succeed)

For Windows 8 you can explicitly specify a transport of local.

Bcdedit -dbgsettings local

Also on Windows 8, if the set transport fails to initialize local debugging will ALWAYS be enabled.

Joe.

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Saturday, April 21, 2012 8:24 AM
To: Kernel Debugging Interest List
Subject: [windbg] The system does not support local kernel debugging.

When I tried to do local kernel debugging to some information about the system, it gives me the following message.

The system does not support local kernel debugging.

“Local kernel debugging requires Windows XP, Administrative privileges, and is not supported by WOW64.
Only a single local kernel debugging session can run at a time.
Local kernel debugging is disabled by default in Windows Vista, you must run ‘bcdedit -debug on’ and reboot to enable it.?”

The thing is that I have enabled the debugging and I see that it is enabled in bcdedit enum / msconfig. Also I ran windbg as administrator.

Is there something I am missing?
Thanks in advance!

YEH


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

Thank you Joe.
I am trying to debug Windows 7. Sorry that I did not mention it.
Earlier I did try USB 2.0 debugging on this machine but I could not make it work because the machine just hangs during Windows starts up. I know that USB 2.0 debugging has many issues so I did not want to proceed but wanted to check out some settings so decided to try to local debugging.

So it is great to know that we can specify local debugging with bcdedit on Windows 8. Then on Windows 7, can I then at least reset bcdedit? It seems to me that the issue might be from my earlier USB setup.
Thank you again!

YEH

i once ripped off all the entries to bare minimum till the os refused
to boot :slight_smile: and then did a repair install and then added a single entry
and then i got back lkd in win7
but that was in vm and i didnt care much if i would fail

bcdedit enum all
bcdedit /delete {id} /f
bcdedit /copy {current) /d “DebugEntry”
bcdedit /enum copy the guid of the DebugEntry for pasting
bcdedit /debug on
bcdedit /dbgsetting (if leave it at default viz serial , comport:1
baudrate:1152000) if on vm
bcdedit <copied_guid_here> /bootdebug on

On 4/22/12, xxxxx@gmail.com wrote:
> Thank you Joe.
> I am trying to debug Windows 7. Sorry that I did not mention it.
> Earlier I did try USB 2.0 debugging on this machine but I could not make it
> work because the machine just hangs during Windows starts up. I know that
> USB 2.0 debugging has many issues so I did not want to proceed but wanted to
> check out some settings so decided to try to local debugging.
>
> So it is great to know that we can specify local debugging with bcdedit on
> Windows 8. Then on Windows 7, can I then at least reset bcdedit? It seems to
> me that the issue might be from my earlier USB setup.
> Thank you again!
>
> YEH
>
> —
> 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
></copied_guid_here>

Thanks Raj. Let me give it a try and see if this will solve the issue.