发明名称 |
Emulation-based expression evaluation for diagnostic tools |
摘要 |
Systems, methods and computer program products are described that enable a diagnostic tool, such as a debugger, to evaluate an expression based on the state of a target program process where the expression to be evaluated includes a call to a first function that exists in the target program process but where evaluation of such first function requires evaluation of a second function that does not exist in the target program process. For an expression such as this, the diagnostic tool emulates execution of the first function within a process other than the target program process, such as within the diagnostic tool process. In other embodiments, the emulation capability of the diagnostic tool is leveraged to enable a user thereof to simulate a modification of the target program process without making actual changes to the target program process. |
申请公布号 |
US9208060(B1) |
申请公布日期 |
2015.12.08 |
申请号 |
US201414291943 |
申请日期 |
2014.05.30 |
申请人 |
MICROSOFT TECHNOLOGY LICENSING, LLC |
发明人 |
Nelson Patrick L.;Miskelly Gregory B.;Davis Jackson M.;Feiveson Eric H.;Khan Azeemullah |
分类号 |
G06F9/45;G06F11/36 |
主分类号 |
G06F9/45 |
代理机构 |
|
代理人 |
Sullivan Kevin;Minhas Micky |
主权项 |
1. A method performed by a diagnostic tool process executing on a computer, the method comprising:
receiving an expression to be evaluated based on a state of a target program process, the expression including a call to a first function that is included in the target program process, evaluation of the first function being dependent upon evaluation of a second function that is not included in the target program process; and evaluating the expression by at least emulating the execution of the first function and the second function within a process other than the target program process. |
地址 |
Redmond WA US |