Отладка (debug) виртуальной машины в Hyper-V


?????? ??? ????? ????????????? ??????????????? ?????????? ?? ?????? ???????? ??. ???? ????? ??? ????????? ??? ??????????? ?????? ????????, ????????? ????????? ? ?????, ????????????? ? ??????? ???????????. ??? ??????????? ??????? ??? ????????????? ??????????, ??????, ??? ?????? ????????????? ??? ????????????????? ?????? ????????? ??? ?????????? ? ?????????? ????????? ?????????? ?? ???? ????????. ??? ??????? ??? ??? ??????????? ??????, ??????? ?? ????? ??????????? COM ??? LPT ?????? ??????? ??, ??? ??????? ??????????? ?????? Named Pipes!

? ?????? ???????, ??? ??????????? ?????????? Debugging Tools for Windows. ????? ????? ??????? ??? ?? ????? ?????????????, ??? ?? ????????? ????????? ??????????? ? ???? ?????????? ??????? ? ??????????? ??????? ???????.

????????? Debugging Tools ?? ????, ??? ??????? ? ????????? ??????????? ??????????? ?????? ????????? ??????????? COM ???? ?? ????????????? ?????? ???????????? ??????. ????????, ? ????? ??? ???: \\.\pipe\VM1_pipe

????? ??????????? ? ??? ??????????? ??????? ??? ???????, ???????? ??????????? ??????, ????? ? ?????? ?????????????? (Elevated) ????????? ?? ????? ????????????? Command Prompt ??? ??????? kd.exe ? ?????????? ???????:

kd -k com:port=\\.\pipe\VM1_pipe,pipe,resets=0,reconnect

???? ?? ???????????? ? ??????? ?????????? ??????????, ??????????? ????????? ?????:

kd -k com:port=\\<HyperV_host_machine>\pipe\VM1_pipe,pipe,resets=0,reconnect , ??? <HyperV_host_machine> – ??? ????? ?????????????.

??? ??????? ??????????? ????? Hyper-V, Virtual PC ??? Virtual Server 2005 ????????? ????????????? ????????? resets=0.

?????????: ??? ??????? ??????????? ????? ?? ?????????? ????????????? ?????? ???????? ?????? ????????? ???????? ????????? resets=2.

Comments (0)

Skip to main content