Invention Grant
- Patent Title: Generating breakpoints for cross-layer debugging
-
Application No.: US15434187Application Date: 2017-02-16
-
Publication No.: US10176077B2Publication Date: 2019-01-08
- Inventor: Si Bin Fan , Xiao Feng Guan , Chen Jiang , Yan Rong Shen , Chang Ning Song , Ping Xiao
- 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
- Agency: Cantor Colburn LLP
- Agent William A. Kinnaman, Jr.
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F11/36

Abstract:
A computer implemented method for selecting breakpoints for cross-layer debugging is provided. The method includes receiving code comprising a plurality of layers, and executing a static analysis of the code to obtain a use-definition (UD) chain, alias information, and a parameter mapping for each of the plurality of layers. The method also includes determining a statement of the code that produces one of an error and a failure, and generating a table comprising a plurality of fields including a working statement field, watching variable field, and a watching function field. The method includes adding the determined statement to the working statement field and performing a cross-layer analysis includes identifying at least one used variable and its associated alias as watching variables from the added working statement, searching the code based on the watching variable field. The method includes generating cross-layer suspect code points based on the cross-layer analysis.
Public/Granted literature
- US20180232297A1 SELECTING BREAKPOINTS FOR CROSS-LAYER DEBUGGING Public/Granted day:2018-08-16
Information query