Windbg和VirtualBox通過虛擬串口調試Win 8

來源:互聯網
上載者:User

原文地址:http://blog.csdn.net/ariesjzj/article/details/8289209

本站其它相關文章:

Windbg遠程核心調試環境:Win7 to Win7 via 1394

http://blog.csdn.net/ariesjzj/article/details/7095346

設定WinDbg+ITP(硬體調試器)
http://blog.csdn.net/ariesjzj/article/details/7191857

環境:

Host:: Win 8

Guest:Win 8

VirtualBox:裝有Guest系統

步驟:

1. 起VirtualBox,進guest,用管理員起命令列,運行:

> bcdedit /dbgsettings serial debugport:2

> bcdedit /debug ON

(*bcdedit ref:

http://msdn.microsoft.com/en-us/library/windows/hardware/ff542187%28v=vs.85%29.aspx)

> bcdedit /dbgsettings

查看設定情況:

2. 關guest,在virtualbox 中Machine->Settings->Serial Ports中作如下設定:

3. 開Windbg,File->Kernel Debug,設定:

設定完成後Windbg等待串連。另外需要的話可以設定Symbol路徑(File->Symbol file Path中加SRV*C:\symbols*http://msdl.microsof.com/download/symbols),這不是必需的,設完後在Windbg中可看到Kernel的symbol。

4. 起guest系統,啟動時windbg自動連接:

相關文章:

http://angarciar.wordpress.com/2011/07/29/kernel-debugging-with-windbg-virtualbox-via-serial-port/

http://www.codeproject.com/Articles/130016/Setting-Up-Kernel-Mode-Debugger-in-Windows

http://www.personal.psu.edu/jdl5225/blogs/eportfolio/Instruction_Set.pdf

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.