发明名称 Identifying the lines of code that caused the error as identified in the stack trace in a source code version that generated the stack trace that does not reside on the user's computing device
摘要 A method, system and computer program product for identifying lines of code that caused an error as identified in a stack trace in a source code version that generated the stack trace. The line(s) of code in the source code version that generated the stack trace that are identified in the stack trace as causing the error are identified. If there are differences in the line(s) of code that are associated with the cause of the error between the source code version that generated the stack trace and the source code version being utilized by the user, such as a developer, then an annotated version of the source code version that generated the stack trace of the line(s) of code that caused the error is displayed to the user with highlighted differences with respect to the source code version being utilized by the user.
申请公布号 US9535819(B2) 申请公布日期 2017.01.03
申请号 US201514627987 申请日期 2015.02.20
申请人 International Business Machines Corporation 发明人 Bank Judith H.;Bradley Lisa M.;Quirk Aaron J.;Sun Lin
分类号 G06F9/45;G06F11/36;G06F9/44;G06F11/34 主分类号 G06F9/45
代理机构 Winstead, P.C. 代理人 Voigt, Jr. Robert A.;Winstead, P.C.
主权项 1. A method for identifying lines of code that caused an error as identified in a stack trace in a source code version that generated the stack trace, the method comprising: receiving a stack trace performed to detect a cause of an error; identifying a version of a source code that generated said stack trace; identifying one or more lines of code in said source code version that generated said stack trace that are identified in said stack trace as being associated with said cause of said error; comparing, by a processor, said source code version that generated said stack trace with a version of said source code currently being utilized in a user's computing system; and displaying one or more lines of code in said source code version being utilized in said user's computing system that correspond to said one or more lines of code of said source code version that generated said stack trace that caused said error as well as displaying an annotated version of said source code version that generated said stack trace of said one or more lines of code that caused said error with highlighted differences with respect to said source code version being utilized in said user's computing system in response to differences in said one or more lines of code that are associated with said cause of said error between said source code version that generated said stack trace and said source code version being utilized in said user's computing system; wherein said comparison comprises finding and matching lines of code between said source code version being utilized in said user's computing system and said source code version that generated said stack trace; and wherein said displayed annotated version of said source code version that generated said stack trace indicates changes in line numbering of one or more lines of code that match said source code version being utilized in said user's computing system.
地址 Armonk NY US