Try “bcdedit -? Dbgsettings”.
You need to do two things:
1 - use bcdedit -dbgsettings serial debugport:N baudrate:M (replace N
and M as appropriate)
2 - run bcdedit -debug on
This will set the debugger settings (globally) and then enable debugging
for the current (booted) entry.
If you’re trying to do this from a safe build you’ll need to provide the
ID for the entry you want to enter the debugger. Bcdedit -? Debug
should tell you how to do that.
-p
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@wipro.com
Sent: Wednesday, November 09, 2005 5:02 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] How to setup target machine with Windbg in Windows
Vista (5231) system?
Hi,
I need to debug the kernel mode driver in Vista. I am trying to
debug the driver by connecting two machines by null modem cable. I want
to know how to setup the port and baud rate for debugging.
I tried bcdedit -dbgsettings /?, but not getting any help message.
Abhiman.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: Wednesday, October 26, 2005 10:18 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] How to setup target machine with Windbg in Windows
Vista (5231) system?
Boot.ini is now used for legacy OS’s. LH uses a new boot loader. To
change the options, you need to use bcdedit. You need to set the debug
settings and then turn debug on.
This should give you the possible parameters Bcdedit -dbgsettings /?
IIRC, this is what I used to enable 1394 debuggin Bcdedit -dbgsettings
1394 channel:6
After you create the settings, you need to enable debugging (yes, this
is a separate step) bcdedit -debug on
hope that helps
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Zhou, James
Sent: Tuesday, October 25, 2005 6:30 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] How to setup target machine with Windbg in Windows
Vista (5231) system?
Hi All,
Does anybody know how to setup target machine with WinDbg in Windows
Vista system (build 5231)? As usual, I tried to change “boot.ini” file
to add “/debug…”, however, it doesn’t work.
In this build, the boot loader would bring up two options during boot
time. Besides the standard “Microsoft Windows”, there is another called
“Legacy (pre-longhorn) Microsoft Windows Operating System”.
James
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’ To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’ To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com