首页> 外国专利> SCRIPT DEBUGGING METHOD AND DEVICE, AND COMPUTER STORAGE MEDIUM

SCRIPT DEBUGGING METHOD AND DEVICE, AND COMPUTER STORAGE MEDIUM

机译:脚本调试方法和装置以及计算机存储介质

摘要

Disclosed by the embodiments of the present invention are a script debugging method and device, and a computer storage medium, the method comprising: a device acquires a debugging instruction, the debugging instruction carrying a target line breakpoint to be debugged, the target line breakpoint at least comprising line information used to indicate a request for debugging a line code where a breakpoint location in a script file is located; and in a case where it is determined that a breakpoint debugging condition is met, displaying a debugging result, the debugging result comprising information obtained when the device performs a breakpoint processing on the line code corresponding to the target line breakpoint, and the breakpoint debugging condition at least comprising that identification information respectively corresponding to a target interface breakpoint and a target local variable is consistent. According to the embodiments of the present invention, the functions such as script debugging and rapid positioning of a problem location may be carried out without modifying a script engine to have a debugging function.
机译:本发明实施例公开了一种脚本调试方法和装置以及计算机存储介质,该方法包括:设备获取调试指令,该调试指令携带待调试的目标行断点,目标行断点位于至少包括行信息,该行信息用于指示调试脚本文件中的断点位置所在的行代码的请求;在判断为满足断点调试条件的情况下,显示调试结果,该调试结果包括设备对目标线路断点对应的线路代码进行断点处理时获得的信息,以及断点调试条件至少包括分别对应于目标接口断点和目标局部变量的标识信息是一致的。根据本发明的实施例,可以执行诸如脚本调试和问题位置的快速定位的功能,而无需将脚本引擎修改为具有调试功能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号