-
公开(公告)号:US09047405B2
公开(公告)日:2015-06-02
申请号:US13572083
申请日:2012-08-10
CPC分类号: G06F11/3624
摘要: User script code that has been developed for execution in a host application can be remapped to debuggable script code, based on explicit debugging gestures, allowing for appropriate debugging coverage for the code while mitigating execution (in)efficiency issues. Capabilities of a virtual machine used for a host application can be determined, and the user script code can be instrumented with guards for detecting explicit debugging gestures based on capabilities of the virtual machine. The instrumented user script code can be executed in a runtime environment, for example, by a just-in-time compilation service. If an explicit debugging gesture is detected, a function where the gesture was detected can be transformed into debuggable script code, in one embodiment, based on the debuggable gesture detected.
摘要翻译: 已经开发用于在主机应用程序中执行的用户脚本代码可以基于显式调试手势重新映射到可调试脚本代码,从而允许适当的代码调试覆盖,同时减轻执行(效率)问题。 可以确定用于主机应用程序的虚拟机的功能,并且可以根据虚拟机的功能,对用户脚本代码进行检测,以便检测显式调试手势。 仪器化用户脚本代码可以在运行时环境中执行,例如通过即时编译服务执行。 如果检测到显式调试手势,则在一个实施例中,基于检测到的可调试手势,可以将检测到手势的功能转换为可调试脚本代码。
-
公开(公告)号:US08271958B2
公开(公告)日:2012-09-18
申请号:US12333675
申请日:2008-12-12
IPC分类号: G06F9/44
CPC分类号: G06F11/3624
摘要: User script code that has been developed for execution in a host application can be remapped to debuggable script code, based on explicit debugging gestures, allowing for appropriate debugging coverage for the code while mitigating execution (in)efficiency issues. Capabilities of an application virtual machine used for the host application can be determined, and the user script code can be instrumented with guards for detecting explicit debugging gestures based on a virtual machine's (VM') capabilities. The instrumented user script code can be executed in a runtime environment, for example, by a just-in-time compilation service. If an explicit debugging gesture is detected, a function where the gesture was detected can be transformed into debuggable script code, in one embodiment, based on the debuggable gesture detected.
摘要翻译: 已经开发用于在主机应用程序中执行的用户脚本代码可以基于显式调试手势重新映射到可调试脚本代码,从而允许适当的代码调试覆盖,同时减轻执行(效率)问题。 可以确定用于主机应用程序的应用程序虚拟机的功能,并且可以使用用于基于虚拟机(VM')功能来检测显式调试手势的保护装置来检测用户脚本代码。 仪器化用户脚本代码可以在运行时环境中执行,例如通过即时编译服务执行。 如果检测到显式调试手势,则在一个实施例中,基于检测到的可调试手势,可以将检测到手势的功能转换为可调试脚本代码。
-
公开(公告)号:US09632909B2
公开(公告)日:2017-04-25
申请号:US12335739
申请日:2008-12-16
CPC分类号: G06F11/3636 , G06F11/3624
摘要: User script code that is developed to be run in a host application, for example, as a macro can be transformed into debuggable code so that the host application may continue to operate during a debugging stop operation. Traceback methods can be created that call back into the host application to allow the host application to cooperatively operate and update its user-interface. The user script code can be transformed by injecting callbacks to the traceback methods at respective locations in the code where a stopping operation may be installed during debugging. Further, two or more debugging features can be combined into a single user script code transform using an iterator pattern function.
-
-