发明授权
- 专利标题: Debugging program function
- 专利标题(中): 调试程序功能
-
申请号: US12411736申请日: 2009-03-26
-
公开(公告)号: US08661417B2公开(公告)日: 2014-02-25
- 发明人: Prasanna S. Panchamukhi , Vaddagiri Srivatsa
- 申请人: Prasanna S. Panchamukhi , Vaddagiri Srivatsa
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理商 Steven L. Bennett
- 主分类号: G06F9/44
- IPC分类号: G06F9/44
摘要:
A method of debugging a function upon function exit includes pausing program execution at the time of initializing the function, wherein the function initialization includes saving a set of registers on the stack, recording the value of the stack pointer, configuring a watchpoint register based on the recorded value, wherein the watchpoint register is configured to trap memory references of the function based on the recorded value of the stack pointer, and executing the function. Program execution will pause when it is exiting the function because of stack references made by the function epilogue to restore registers saved on the stack and the configured watchpoint registers.
公开/授权文献
- US20100251026A1 DEBUGGING PROGRAM FUNCTION 公开/授权日:2010-09-30
信息查询