Читаем Программы и файлы Windows полностью

Used on conjunction with /DEBUGPORT=1394 to specify the IEEE 1394 channel through which kernel debugging communications will flow. This can be any number between 0 and 62 and defaults to 0 if not set. Use this switch together with the /debug switch and the /debugport switch to configure Windows to send debug information over an Institute of Electrical and Electronics Engineers, Inc. (IEEE) 1394 port. To support debugging over a 1394 port, both computers must be running Microsoft Windows XP or later. The 1394 port has a maximum number of 63 independent communications channels that are numbered 0 through 62. Different hardware implementations support a different number of channels across one bus. Windows XP has a limit of four destination computers. However, this limitation is removed in Windows Server 2003. To perform debugging, select a common channel number to use on both the computer that the debugger runs on, which is also known as the host computer, and the computer that you want to debug, which is also known as the destination computer. You can use any number from 1 to 62.

To configure the destination computer

1. Edit the Boot.ini file to add the /CHANNEL=x option to the operating system entry that you have configured for debugging. Replace x with the channel number that you want to use. For example, configure the [operating systems] area of the Boot.ini file to look similar to the following:

[boot loader]

timeout=30

default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS

[operating systems]

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows Server 2003, Enterprise" /fastdetect /debug /debugport=1394 /CHANNEL=3

2. Plug the 1394 cable in one of the 1394 ports.

3. Disable the 1394 host controller on the destination computer. To do this, start Device Manager, right-click the device, and then click Disable.

4. Restart the computer.

To configure the host computer

1. Plug the 1394 cable in one of the 1394 ports.

2. Install the kernel debugger binary files.

3. Start a command prompt. Press enter after you type each of the following commands:

set_NT_DEBUG_BUS=1394

set_NT_DEBUG_1394_CHANNEL=x

kd -k

4. Move to the folder where you installed the kernel debugger, and then type the following command:

kd.exe

When you first start the debugger, a 1394 virtual driver is installed. This driver permits the debugger to communicate with the destination computer. You must be logged on with administrator rights for this driver installation to complete successfully.

/CLKLVL

Causes the standard x86 multiprocessor HAL (Halmps.dll) to configure itself for a level-sensitive system clock rather then an edge-triggered clock. Level-sensitive and edge-triggered are terms used to describe hardware interrupt types.

/CMDCONS

Passed when booting with into the Recovery Console (described later in this chapter).

/crashdebug

This switch loads the kernel debugger when you start the operating system. The switch remains inactive until a Stop message error occurs. /crashdebug is useful if you experience random kernel errors. With this switch, you can use the COM port for normal operations while Windows is running. If Windows crashes, the switch converts the port to a debug port. (This action turns on remote debugging.)

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

151981 How to set up a remote debug session using a null modem cable

/debug

This switch turns on the kernel debugger when you start Windows. The switch can be activated at any time by a host debugger that is connected to the computer, if you want to turn on live remote debugging of a Windows system through the COM ports. Unlike the /crashdebug switch, /debug uses the COM port whether you are debugging or not. Use this switch when you are debugging problems that are regularly reproducible.

For additional information about remote debugging, click the following article number to view the article in the Microsoft Knowledge Base:

121543 Setting up for remote debugging

/debugport=comnumber

This switch specifies the communications port to use for the debug port, where number is the communications port, such as COM1, that you want to use. By default, /debugport uses COM2 if it exists. Otherwise, the switch uses COM1. If you include this switch in the Boot.ini file, the /debug switch becomes active.

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

151981 How to set up a remote debug session using a null modem cable

Перейти на страницу:

Похожие книги

100 великих футбольных матчей
100 великих футбольных матчей

Существуют матчи, которые по своему характеру, без преувеличения, можно отнести к категории великих. Среди них драма на двухсоттысячном стадионе «Маракана» в финальном поединке чемпионата мира по футболу 1950 года между сборными Уругвая и Бразилии (2:1). И первый крупный успех советского футбола в Мельбурне в 1956 году в финале XVI Олимпийских игр в матче СССР — Югославия (1:0). А как не отметить два гола в финале чемпионата мира 1958 года никому не известного дебютанта, 17-летнего Пеле, во время матча Бразилия — Швеция (5:2), или «руку божью» Марадоны, когда во втором тайме матча Аргентина — Англия (2:1) в 1986 году он протолкнул мяч в ворота рукой. И, конечно, незабываемый урок «тотального» футбола, который преподала в четвертьфинале чемпионата Европы 2008 года сборная России на матче Россия — Голландия (3:1) голландцам — авторам этого стиля игры.

Владимир Игоревич Малов

Боевые искусства, спорт / Справочники / Спорт / Дом и досуг / Словари и Энциклопедии