发明名称 Inserting implicit sequence points into computer program code to support debug operations
摘要 Arrangements described herein relate to inserting implicit sequence points into computer program code to support debug operations. Optimization of the computer program code can be performed during compilation of the computer program code and, during the optimization, implicit sequence points can be inserted into the computer program code. The implicit sequence points can be configured to provide virtual reads of symbols contained in the computer program code when the implicit sequence points are reached during execution of the computer program code during a debug operation performed on the computer program code after the computer program code is optimized and compiled.
申请公布号 US9286190(B2) 申请公布日期 2016.03.15
申请号 US201313889506 申请日期 2013.05.08
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 Bowler Christopher E.;Chen Chen;Copeland Reid T.;Hoffner Tommy U.;Islam Tarique M.;Silvera Raúl E.
分类号 G06F9/44;G06F9/45;G06F11/36 主分类号 G06F9/44
代理机构 Cuenot, Forsythe & Kim, LLC 代理人 Cuenot, Forsythe & Kim, LLC
主权项 1. A method of inserting implicit sequence points into computer program code to support debug operations, the method comprising: performing, using a processor, optimization of the computer program code during compilation of the computer program code and, during the optimization, inserting implicit sequence points into the computer program code, wherein the implicit sequence points are configured to provide virtual reads of symbols contained in the computer program code when the implicit sequence points are reached during execution of the computer program code during a debug operation performed on the computer program code after the computer program code is optimized and compiled, wherein a view of a user program remains valid by constraining the optimization using implicitly generated virtual reads of user visible symbols at the implicit sequence points and wherein, when a debugger stops at at least one of the sequence points, user visible symbols hold respective values in a same manner the user visible symbols would hold the respective values without optimization being performed on the computer program code; and configuring the computer program code to enable user modification of at least one respective value of at least one symbol when the debug operation is performed on the computer program code.
地址 Armonk NY US