发明名称 MANAGING ASSERTIONS WHILE COMPILING AND DEBUGGING SOURCE CODE
摘要 The present disclosure relates to maintaining assertions in an integrated development environment (IDE) tool. According to one embodiment, while the IDE tool is compiling the source code of a development project, the IDE tool generates at least a first compiler warning. The first compiler warning generally corresponds to at least one line of source code in a first source code component of the development project. A first set of assertions to add to the source code of the development project is determined based on the line of source code that resulted in the first compiler warning. The IDE tool adds the first set of assertions to the source code of the development project. The first set of assertions are compiled as part of the source code of the development project.
申请公布号 US2016188439(A1) 申请公布日期 2016.06.30
申请号 US201414585771 申请日期 2014.12.30
申请人 International Business Machines Corporation 发明人 BATES Cary L.;HELGESON Lee;KING Justin K.;SCHLICHT Michelle A.
分类号 G06F11/36;G06F9/44;G06F9/45 主分类号 G06F11/36
代理机构 代理人
主权项 1. A computer-readable storage medium storing instructions, which, when executed on a processor, perform an operation for managing assertions included in an executable program compiled from source code, the operation comprising: while compiling the source code of a development project: generating at least a first compiler warning, wherein the first compiler warning corresponds to at least one line of source code in a first source code component of the development project;determining, based on the line of source code that resulted in the first compiler warning, a first set of assertions to add to the source code of the development project; andadding the first set of assertions to the source code of the development project, wherein the first set of assertions are compiled as part of the executable program.
地址 Armonk NY US