发明名称 Transforming user script code for debugging
摘要 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.
申请公布号 US9632909(B2) 申请公布日期 2017.04.25
申请号 US200812335739 申请日期 2008.12.16
申请人 Microsoft Technology Licensing, LLC 发明人 Stall Jonathon Michael;Crider Anthony L.;Zinkovsky Igor A
分类号 G06F9/44;G06F11/36 主分类号 G06F9/44
代理机构 Ogilvie Law Firm 代理人 Ogilvie Law Firm
主权项 1. A method, implemented at least in part via a processing unit, for enabling debuggability of a user script code developed for running in a host application, comprising: creating a traceback method which implements a debugging feature and is configured to call into the host application; and injecting a callback to the traceback method at one or more locations in the user script code, the user script code automating functions of the host application, the traceback method configured to facilitate debugging the user script code while continuing operation of a message pump, that operated before the debugging, to provide non-frozen operation of the host application allowing the host application to continue to function during the debugging.
地址 Redmond WA US