Invention Grant
- Patent Title: Logging code generation and distribution
- Patent Title (中): 记录代码生成和分发
-
Application No.: US14228724Application Date: 2014-03-28
-
Publication No.: US09280445B2Publication Date: 2016-03-08
- Inventor: Craig A. Carson , Bret W. Dixon , Benjamin T. Horwood , John A. Kaputin , Adam J. Pilkington
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agent Patricia B. Feighan; Jeanine Ray
- Main IPC: G06F11/00
- IPC: G06F11/00 ; G06F11/36

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.
Public/Granted literature
- US20150278073A1 LOGGING CODE GENERATION AND DISTRIBUTION Public/Granted day:2015-10-01
Information query