Managing assertions while compiling and debugging source code
Abstract
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 3.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A computer-implemented method for managing assertions included in an executable program compiled from source code, the method 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; and adding the first set of assertions to t
- Claim 2Depends on #1
The method of claim 1 , wherein determining the first set of assertions to add to the source code of t
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- Aggrawal et al., "Code coverage based technique for priortizing test cases for regression testing," 2004, ACM SIGSOFT Software Engineering Notes, vol. 29, Issue 5, pp. 1-4. [Abstract Only] [Available Online] http://dlacm.org/citation.cfm?id=1022511&dl=ACM&coll=DL.
- Athavale et al., "Code Coverage of Assertions Using RTL Source Code Analysis," 2014, Proceedings of the 51st Annual Design Automation Conference, pp. 1 -6.
- Bates et al., "Assertion Management in an Integrated Development Environment", U.S. Appl. No. 14/577,445, filed Dec. 19, 2014.
- Bates et al., "Assertions Based on Recently Charged Code"; U.S. Appl. No. 14/574,473, filed Dec. 18, 2014.
- Bates et al., "Assertions Based on Recently Charged Code"; U.S. Appl. No. 14/577,296, filed Dec. 19, 2014.