Browse Prior Art Database

Interaction method for setting and disabling variable breakpoints

IP.com Disclosure Number: IPCOM000015096D
Original Publication Date: 2002-Jul-30
Included in the Prior Art Database: 2003-Jun-20
Document File: 2 page(s) / 47K

Publishing Venue

IBM

Abstract

Debuggers are software tools that allow software developers to detect and solve problems in their code. One commonly employed technique is the use of breakpoints; a breakpoint is a condition that when met interrupts the execution of the code, allowing the programmer to inspect the state of variables, the output of the program or other tasks that will allow him to detect the correct or incorrect behavior of the program. There are two main kinds of breakpoints: line breakpoints and variable breakpoints. Line breakpoints interrupt the execution of a piece of code when the line they are assigned to is reached during the execution of the code. Line breakpoints are very common, and standardized interaction techniques have been developed allowing programmers to enable or disable such breakpoints. Variable breakpoints are less common. They interrupt the execution of a piece of code as soon as a variable's contents are either changed or are set to a specific value. The code is interrupted at the line that causes that condition to be met. Because they are less common, fewer interaction techniques have been developed for setting or disabling such breakpoints. The proposed solution allows programmers to set or disable variable breakpoints in a manner consistent with the well developed and widespread interaction techniques used for setting or disabling line breakpoints. This approach leverages software developer's knowledge in performing the common task of setting a line breakpoint, for the less common task of setting variable breakpoints.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 52% of the total text.

Page 1 of 2

Interaction method for setting and disabling variable breakpoints

Debuggers are software tools that allow software developers to detect and solve problems in their code. One commonly employed technique is the use of breakpoints; a breakpoint is a condition that when met interrupts the execution of the code, allowing the programmer to inspect the state of variables, the output of the program or other tasks that will allow him to detect the correct or incorrect behavior of the program.

There are two main kinds of breakpoints: line breakpoints and variable breakpoints. Line breakpoints interrupt the execution of a piece of code when the line they are assigned to is reached during the execution of the code. Line breakpoints are very common, and standardized interaction techniques have been developed allowing programmers to enable or disable such breakpoints.

Variable breakpoints are less common. They interrupt the execution of a piece of code as soon as a variable's contents are either changed or are set to a specific value. The code is interrupted at the line that causes that condition to be met. Because they are less common, fewer interaction techniques have been developed for setting or disabling such breakpoints.

The proposed solution allows programmers to set or disable variable breakpoints in a manner consistent with the well developed and widespread interaction techniques used for setting or disabling line breakpoints. This approach leverages software developer's knowledge in performing the common task of setting a line breakpoint, for the less common task of setting variable breakpoints.

The proposed interaction technique allows users to enable/disable variable breakpoints by clicking in an area to the left of the variable name in a list of available variables. The state of the variable breakpoint is indicated using a...