Variable tracking in program debugging
Abstract
A method and system for structuring program code to implement program debugging of the program code using tracking of variables. A first variable to be tracked and a first expression associated with the first variable are determined. The program code includes the first variable and the first expression. A reverse scanning of the program code is performed to search for a first assignment expression within a first assignment statement that assigns a value of the first assignment expression to the first variable. In response to finding the first assignment expression via the reverse scanning, a first watch point for determining a true/false value of the first expression is inserted into the program code after the first assignment statement.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for structuring program code to implement program debugging of the program code using tracking of variables, said method comprising: determining, by a processor, a first variable to be tracked and a first expression associated with the first variable, said program code comprising the first variable and the first expression; said processor performing a reverse scanning of the program code to search for a first assignment expression within a first assignment statement that assigns a value of the first assignment expression to the first variable; in response to finding the first assignme
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (9)
Non-Patent Literature (2)
- Auguston, Mikhail, Assertion checker for the C programming language based on computations over event traces, AADEBUG'2000, 10 pages.
- Kosmatov et al., A Lesson on Runtime Assertion Checking with Frama-C, Retrieved from Internet URL: http://kosmatov.perso.sfr.fr/nikolai/publications/kosmatov s rv 2013 pdf, 14 pages.