- Patent Title: Exception prediction before an actual exception during debugging
-
Application No.: US16238577Application Date: 2019-01-03
-
Publication No.: US11042466B2Publication Date: 2021-06-22
- Inventor: Vikas Chandra , Sarika Sinha
- 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: Schmeiser, Olsen & Watts
- Agent Nicholas L. Cadmus
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F11/36 ; G06F8/41 ; G06F11/34

Abstract:
An approach is provided for predicting an exception during a debugging of software code before the debugging encounters the exception. During a debugging of a line number L of the code and based on an exception being predicted to be encountered at a line number M, a warning is displayed that the exception is to be encountered at the line number M, which is within a range of line numbers L+1 through L+X, where L>0 and X>1. Using a fix written in response to the predicted exception, the software code is modified. During a debugging of the line number M of the code, the modified software code is executed to avoid the predicted exception.
Public/Granted literature
- US20190138425A1 EXCEPTION PREDICTION BEFORE AN ACTUAL EXCEPTION DURING DEBUGGING Public/Granted day:2019-05-09
Information query