VMWare debug config 利用虚拟机进行远程调试的配置
来源:互联网 发布:域名缩短器 编辑:程序博客网 时间:2024/06/06 17:45
Guest debugging
These options are valid in Workstation 6.0+, and should be set in the virtual machine's .vmx file.
- debugStub.listen.guest32 = "TRUE"
- debugStub.listen.guest64 = "TRUE"
If using these options, Workstation prints a message "VMware Workstation is listening for debug connection on port 8832." into the vmware.log file. Start a GDB session (using a copy of your kernel that includes debug information), then:
- target remote localhost:8832
Standard gdb commands work in this mode (e.g. printing memory, backtrace). Note that this is a debug stub attached to the KERNEL, not a userspace program.
Other useful options:
- debugStub.listen.guest32.remote = "TRUE" # Allows debugging from a different computer / VM instead of localhost. # The IP for remote debugging will be that of the host.
- debugStub.listen.guest64.remote = "TRUE" # Same, but for 64-bit code
- monitor.debugOnStartGuest32 = "TRUE" # Breaks into debug stub on first instruction (warning: in BIOS!) # This will halt the VM at the very first instruction at 0xFFFF0, you could set the next breakpoint to break *0x7c00 to break when the bootloader is loaded by the BIOS
- debugStub.hideBreakpoints = "TRUE" # Allows gdb breakpoints to work
- bios.bootDelay = "3000" # Delay booting the BIOS code.
基本思路为:
1、修改虚拟机系统对应的vmx文件。添加debugStub.listen.guest32.remote = "TRUE" 和 monitor.debugOnStartGuest32 = "TRUE" bios.bootDelay = "3000"(此地方视具体情况)
2、启动虚拟机,利用IDA附加进程调试,远程端口为8832。
- VMWare debug config 利用虚拟机进行远程调试的配置
- IDEA进行远程debug的调试
- 通过Windbg利用VMware虚拟机进行双机调试
- 补充《通过Windbg利用VMware虚拟机进行双机调试》
- 利用-DEBUG进行代码调试
- eclipse中通过debug进行tomcat,weblogic的远程调试
- 用windbg + vmware 进行双虚拟机调试环境的搭建
- Springboot框架配置远程Tomcat服务器以及本地Tomcat服务器进行远程debug调试
- 利用GDB进行远程调试
- 利用VSTS2010进行远程调试
- 配置主机和VMware虚拟机进行通信的过程
- VS2010+VMWare 远程调试exe程序的配置总结
- VS2010+VMWare 远程调试exe程序的配置总结
- VS2010+VMWare 远程调试exe程序的配置总结
- VMware 虚拟机的安装调试
- 配置Eclipse进行远程调试
- 配置Eclipse进行远程调试
- Tomcat进行远程调试配置
- Android源码下载方法详解
- C#:抽象类和抽象函数, 密封类和密封方法
- C陷阱与缺陷(四)连接
- SAP企业移动平台开发探索系列 - 序
- 结构型设计模式学习
- VMWare debug config 利用虚拟机进行远程调试的配置
- 最大回文数问题
- nuity 学习之路 一、简单应用
- Tfs 自动部署 部署图
- 如何修复硬盘坏道(360)
- 字符串的交换
- WinForm中获取鼠标当前位置
- GUI 编辑框中读写矩阵
- matlab成段注释