UserDebuggerHotKey

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug

Data type Range Default value

REG_DWORD

0x0–0xFF

0x0

Description

Specifies the key that, when pressed, establishes a breakpoint in code being debugged.

The debugger interrupts code processing at the breakpoint so the programmer can examine a suspected problem.

The key specified in this value only sets a breakpoint. It does not invoke the debugger (the debugger must be running before the key is pressed), and it does not switch the debugger to single-step mode.

The value of this entry is a keyboard scan code. The default value (0x0) represents the F12 key on a 101-key keyboard or the "-" (hyphen, VK_SUBTRACT) key on an 82-key keyboard.

The following table lists the scan codes and virtual key codes for a standard keyboard.

Scan code Virtual key code

0x0

VK_SUBTRACT (F12)

0x1

VK_LBUTTON

0x2

VK_RBUTTON

0x3

VK_CANCEL

0x4

VK_MBUTTON

0x8

VK_BACK

0x9

VK_TAB

0xC

VK_CLEAR

0xD

VK_RETURN

0x10

VK_SHIFT

0x11

VK_CONTROL

0x12

VK_MENU

0x13

VK_PAUSE

0x14

VK_CAPITAL

0x15

VK_KANA, VK_HANGEUL, VK_HANGUL

0x17

VK_JUNJA

0x18

VK_FINAL

0x19

VK_HANJA, VK_KANJI

0x1B

VK_ESCAPE

0x1C

VK_CONVERT

0x1D

VK_NONCONVERT

0x1E

VK_ACCEPT

0x1F

VK_MODECHANGE

0x20

VK_SPACE

0x21

VK_PRIOR

0x22

VK_NEXT

0x23

VK_END

0x24

VK_HOME

0x25

VK_LEFT

0x26

VK_UP

0x27

VK_RIGHT

0x28

VK_DOWN

0x29

VK_SELECT

0x2A

VK_PRINT

0x2B

VK_EXECUTE

0x2C

VK_SNAPSHOT

0x2D

VK_INSERT

0x2E

VK_DELETE

0x2F

VK_HELP

0x30–0x39 

VK_0–VK_9 (ASCII 0–9)

0x41–0x5A

VK_A–VK_Z (ASCII A–Z)