I can't break when attaching to target machine in kernel debug mode

后端 未结 1 740
故里飘歌
故里飘歌 2021-02-10 00:48

I am starting a prototype including a Windows minifilter. I have set up my environment:

  • a target Virtual Machine (actually 3: a Windows 7, 8 and 8.1)
  • a ho
相关标签:
1条回答
  • 2021-02-10 01:43

    I solved my problem (I suck, therefore I am)

    In a nutshell, here is how the two machines must be configured for kernel debugging.

    A. Target machine (Hyper-V VM)

    • Configure for kernel debugging (using msconfig is the easiest way) on serial COM1
    • Configure Hyper-V machine to pipe COM1 to a named pipe (\.\pipe\debug for example)

    B. Source machine (Hyper-V host hosting the target)

    • Run WinDBG or VS in admin mode (that was my first mistake)
    • Connect to named pipe with exactly the same name (\.\pipe\debug) (that was my second mistake, I thought the machine name had to be actual target name)

    It works just fine, with a nice integration under Visual Studio 2013. Thanks to all those who answered (nobody)... And all others who read :)

    0 讨论(0)
提交回复
热议问题