首页> 中文期刊> 《计算机应用与软件》 >基于虚拟机日志记录回放的可逆调试方法

基于虚拟机日志记录回放的可逆调试方法

         

摘要

传统的调试器调试程序时,仅仅能够让程序正向运行并获取其当前的状态.提出了一种可以让程序逆向运行,回到过去任意时刻的调试方法,来增强调试器的功能.该方法是通过为Xen虚拟机添加完整的日志记录和回放功能以及对GDB调试器作相应修改来实现的;调试对象可以恢复到其运行过程的任意时刻.该可逆调试器,可以解决大型软件和操作系统内核开发调试困难的问题,大大提高了开发进度.%Traditional debugger can only make programs execute forward and acquire current state when debugging.This paper proposes a new debugging method, in which the program can execute reversely back to any moment in the past.This method is implemented by adding complete logging and replaying function to Xen virtual machine and modifying GDB debugger correspondingly.The debugging object can restore its operation process happened at any moment.The debugger with reversible function implemented in the paper can solve the problem of debugging difficulties of large-scale software and operating system in their kernel development, and greatly accelerate the progress of development.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号