Hao to setup windbg on windows10 LTSC img

 

  • Windows Guest (Target): We have to run the following commands in the cmd.exe, which has to be started as Administrator to give us enough permissions.
    •    bcdedit /set debug on
    •    bcdedit /set debugtype serial
    •    bcdedit /set debugport 1
    •    bcdedit /set baudrate 115200
    •    bcdedit /set {bootmgr} displaybootmenu yes
    •    bcdedit /timeout 10

 

  • How to debug:
    • Windows host
      • Launch "Com by TCP", select any one port from the "Virtual Port Pair" above, for example COM8. Fill the Com properties as below then click "Get Com".
      • Fill the SOS IP address and port, click "Client".

  • Launch WinDbg, File->Kernel Debug…, fill the port using the peer of the port configured in "Com by TCP", for example, com9

  • SOS
    • Launch Guest/UOS windows
      • qemu: add "-serial tcp::9090,server,nowait" to command line
      • acrn-dm: add "-l comX,tcp:9090" to acrn-dm command line, where X can be 1 or 2, depending on which port is configured as the debugport above.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值