Kernel debugger?

Hi,
   I am having problems setting up Vista (5231) for kernel debugging.
I am able to use livekd (sysinternals), but I would like to set up a
system for remote debugging as well.

The first problem I encounter is setting up the boot.ini.  It appears
that the boot.ini menu is never shown by the boot manager when booting
vista.  I can either boot "Windows" or a "legacy (pre-longhorn)" system.
Other posts I've read seem to indicate that the boot.ini menu shows up
when booting legacy systems (ie. winxp), but I don't have one on my
system.

Next, I noticed that if I hit F8, I can turn on "Debugging" during
boot.  However, I don't know what configuration options that enables,
and it doesn't appear to work for my setup.

Finally, after some random trial and error I noticed that I can hit
F10 in the boot manager and edit the boot flags (yay!).  However,
adding "/debug /debugport=1394 /channel=44" didn't seem to bring
up the debugging link.

So my question is -- Is it possible to remotely debugging vista (5231)
If so, what links (and hardware) are supported



Answer this question

Kernel debugger?

  • Madhu74

    The answer is to use bcdedit on the vista target host:
        > bcdedit -dbgsettings 1394 channel:4

    then reboot, hit F8 and select the debugging option.  As normal on
    the remote host run kd:

        > kd -k 1394:channel=4

  • Kernel debugger?