windbg remote stub方式远程调试
来源:互联网 发布:硬盘盒哪个牌子好 知乎 编辑:程序博客网 时间:2024/05/12 22:22
windbg远程调试时,有两种方式,一种为remote session,另一种为remote stub,具体详情请google。
我下面说说我在使用remote stub方式时遇到的一些困惑。
按照教程,我在target machine启动了stub进程
dbgsrv -t tcp:port=5000
然后我在remote machine上启动了windbg,单击菜单File->Connect to remote stub...., 弹出对话框中点击Browse,又弹出一个子对话框,在此对话框中输入target machine的计算机名或IP地址,执行Refresh,出现一下提示:
然后我又开始了Google旅程,很不幸,没查到原因。我就此以为远程调试不可用了呢。谁知又Google到了如下文章
http://blog.strafenet.com/2011/04/04/using-dbgsrv-the-process-server/
里面有一段:
The connection string should match what you’ve started dbgsrv with. For instance, if dbgsrv is running on my computer named “timtst”, I would connect to “tcp:port=31337,server=timtst”. After accepting the connection string in this dialog, there will be no indication of failure or success until you actually try to use it。
于是我也不再点击Browse按钮,直接填写connection string "tcp:port=5000, server=192.168.1.104" 后,点击OK按钮。然后执行File->Attach to a process。进程对话框里枚举的的确是target machine的进程列表, 附加进程之后,可以远程调试进程。
至此,虽有不解(为啥会拒绝访问呢[见图]),但是总是可以远程调试了。
另外,也可以直接执行命令行打开远程调试,命令如下
windbg.exe -premote tcp:port=5000,server=192.168.1.104 -p 1016
- windbg remote stub方式远程调试
- windbg远程调试
- Windbg远程调试
- windbg远程调试方法
- Windbg远程调试
- windbg远程调试方法
- windbg远程调试方法
- windbg远程调试方法
- windbg远程调试方法
- windbg双机远程调试
- 远程调试(Remote Debugging)
- 远程调试(Remote Debugging)
- 使用windbg进行远程调试
- 用WinDBG远程调试程序
- WinDbg命令详解--远程调试
- 远程调试(remote debug) 使用指南
- Tomcat 远程调试(remote debug)
- Remote java Application 远程调试
- MySQL FEDERATED引擎使用示例, 类似Oracle DBLINK.
- jquery弹出下拉菜单
- 找个男朋友约会看电影
- 分割背景算法
- sv中随机化seed的设置
- windbg remote stub方式远程调试
- COM线程模型 - STA接口 (跨线程传递对象,消息循环)
- map、list、map(Object,map)的前台获取遍历
- 用C#如何遍历一个窗体中的某一种控件
- 二进制中包含1的数量
- 报复老公出轨 我和别的男人开房
- android:Message处理机制
- 嵌入式启动之二:资源宽裕型嵌入式系统
- 字符串的截取,判断字符串是否相等和字符串是否为空的方法总结Java,Android