Logging code generation and distribution
Abstract
A method for diagnosing an error associated with a software is provided. The method may include receiving a stack trace associated with the error. The method may also include fetching a source code associated with the received stack trace. The method may further include parsing the fetched source code associated with the received stack trace. The method may also include generating an abstract syntax tree (AST) based on the parsed fetched source code. Additionally, the method may include inserting at least one logging call into the generated abstract tree. The method may include recompiling the captured code based on the generated abstract tree with the at least one inserted logging call. The method may also include uploading the recompiled code onto at least one deployment server.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 4.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for diagnosing an error associated with a software, the method comprising: receiving a stack trace associated with the error; fetching a source code associated with the received stack trace; parsing the fetched source code associated with the received stack trace; generating an abstract syntax tree (AST) based on the parsed fetched source code; inserting at least one logging call into the generated abstract tree; and recompiling the fetched source code based on the generated abstract tree with the at least one inserted logging call.
- Claim 2Depends on #1
The method of claim 1 , further comprising: uploading the recompiled source code onto at least one deployment server.
- Claim 3Depends on #1
The method of claim 1 , wherein the receiving of the stack trace comprises creating a problem record associated with the received sta
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (11)
Non-Patent Literature (4)
- Carson et al., "Logging Code Generation and Distribution," Filed on Mar. 28, 2014, p. 1-23, U.S. Appl. No. 14/228,724.
- Cleve et al., "Locating Causes of Program Failures", ICSE'05, May 15-21, 2005, p. 342-351, St. Louis, Missouri, USA.
- IBM, "List of IBM Patents or Patents Applications Treated as Related (Appendix P)," Oct. 23, 2014.
- Microsoft et al., "Method and System for Automatically Triaging and Managing Customer Reported Failures", IP.com, Dec. 14, 2007, IPCOM000162422D.