Skip to main content
. 2020 Mar 31;8:89. doi: 10.3389/fpubh.2020.00089

Table 2.

Examples of system debugging and error handling.

Category of the error Example
Description Cause Resolution Stage
Application crashing The application would crash when the user did not input a value into a drop-down down list. Default value for dropdown lists was NULL. The default value was changed from NULL to a string type “Select a value.” Initial version
Unexpected function When the user would close the form and then select “No” in response to the form's “Do you wish to close the application?” message, the form would move out of the window frame. The form was attempting to save a picture when the user selected “No” to the close form confirmation message. Disabled the image saving feature of the “No” response Testing
Incorrect Communication When the user responded to previously missing fields, error messages signifying missing fields would remain. Spelling error in the code Checked all error provider objects for correct variable assignments and ensured no interaction with other variables Testing
eFI-CGA score miscalculations The eFI-CGA score would not update after inputs were changed following original calculation. Logic error in the code interpreting the formula Checked variable mapping and ensured correct calculated value assignment Testing
Syntax errors “Creatinine” was spelled as “Creatine,” improper capitalization, etc. Misspelling in the code of the GUI fields Fixed the spelling error Testing
Incorrect data storage Data was saved under incorrect columns in spreadsheets Wrong column ordering, or missing or added columns Fixed the column ordering and added/removed columns Testing