{"id":119,"date":"2006-09-27T15:15:02","date_gmt":"2006-09-27T19:15:02","guid":{"rendered":"http:\/\/www.cchsu.com\/arthur\/digest\/windbg\/remote\/"},"modified":"2006-09-27T22:26:50","modified_gmt":"2006-09-28T02:26:50","slug":"remote","status":"publish","type":"page","link":"http:\/\/www.cchsu.com\/arthur\/digest\/windbg\/remote\/","title":{"rendered":"\u8a2d\u5b9a remote debugging"},"content":{"rendered":"<h3>\u8a2d\u5b9a VMWare \u4f7f\u7528\u865b\u64ec COM port<\/h3>\n<p>\u52a0\u4e00\u500b serial port\uff0c\u9078 Output to named pipe<br \/>\n\\\\.\\pipe\\com_1<br \/>\nThis end is the server<br \/>\nThe other end is an application<br \/>\n\u6309 Advanced\uff0c\u52fe\u53d6 Yield CPU on poll<br \/>\nFinish<\/p>\n<h3>\u8a2d\u5b9a XP Guest OS<\/h3>\n<p>\u4fee\u6539 boot.ini<\/p>\n[boot loader]\ntimeout=30<br \/>\ndefault=multi(0)disk(0)rdisk(0)partition(1)\\WINDOWS<\/p>\n[operating systems]\nmulti(0)disk(0)rdisk(0)partition(1)\\WINDOWS=&#8221;Microsoft Windows XP Professional&#8221; \/fastdetect<br \/>\nmulti(0)disk(0)rdisk(0)partition(1)\\WINDOWS=&#8221;Microsoft Windows XP Professional &#8211; DEBUG&#8221;<br \/>\n\/fastdetect \/debugport=com1 \/baudrate=115200<\/p>\n<h3>\u8a2d\u5b9a Vista Guest OS<\/h3>\n<p>\u5077\u61f6\u6cd5\uff1abcdedit \/debug on<br \/>\n\u4ee5\u5f8c boot \u8d77\u4f86\u5c31\u76f4\u63a5\u5167\u5b9a\u4f7f\u7528 COM port 1 \u4e26\u555f\u52d5 kernel debugger<\/p>\n<p>\u53e6\u505a\u4e00\u500b config \u7684\u65b9\u6cd5\uff1a<\/p>\n<p>bcdedit \/copy {current} \/d &#8220;Vista Debug&#8221;<br \/>\nbcdedit \/displayorder {current} {<em>ID<\/em>}<br \/>\nbcdedit \/debug {<em>ID<\/em>} on<\/p>\n<p>\u8981\u4f7f\u7528 1394 \u6216 USB \u7684\u8a71\uff0c\u8acb\u53c3\u8003 bcdedit \/? \/dbgsettings<br \/>\n<a href=\"http:\/\/www.microsoft.com\/whdc\/driver\/tips\/debug_vista.mspx\">MSDN reference<\/a><\/p>\n<h3>Host \u7aef WinDBG<\/h3>\n<p>\u5728\u684c\u9762\u4e0a\u5efa\u500b\u6377\u5f91\uff0c\u5167\u5bb9<br \/>\nwindbg -b -k com:pipe,port=\\\\.\\pipe\\com_1,resets=0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8a2d\u5b9a VMWare \u4f7f\u7528\u865b\u64ec COM port \u52a0\u4e00\u500b serial port\uff0c\u9078 Output to named pipe \\\\.\\pipe\\com_1 This end is the server The other end is an application \u6309 Advanced\uff0c\u52fe\u53d6 Yield CPU on poll Finish \u8a2d\u5b9a XP Guest OS \u4fee\u6539 boot.ini [boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(1)\\WINDOWS=&#8221;Microsoft Windows XP Professional&#8221; \/fastdetect multi(0)disk(0)rdisk(0)partition(1)\\WINDOWS=&#8221;Microsoft Windows XP Professional &#8211; DEBUG&#8221; \/fastdetect [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":118,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"_links":{"self":[{"href":"http:\/\/www.cchsu.com\/arthur\/wp-json\/wp\/v2\/pages\/119"}],"collection":[{"href":"http:\/\/www.cchsu.com\/arthur\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.cchsu.com\/arthur\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.cchsu.com\/arthur\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.cchsu.com\/arthur\/wp-json\/wp\/v2\/comments?post=119"}],"version-history":[{"count":0,"href":"http:\/\/www.cchsu.com\/arthur\/wp-json\/wp\/v2\/pages\/119\/revisions"}],"up":[{"embeddable":true,"href":"http:\/\/www.cchsu.com\/arthur\/wp-json\/wp\/v2\/pages\/118"}],"wp:attachment":[{"href":"http:\/\/www.cchsu.com\/arthur\/wp-json\/wp\/v2\/media?parent=119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}