# US 2010/0169867 A1 · Defining a conditional breakpoint

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2010/0169867 A1
- Document ID: US20100169867A1
- Status: Published application
- Kind: A1
- Application number: 12/346,595
- Filed: 2008-12-30
- Published: 2010-07-01
- Earliest claimed: 2008-12-30
- Assignees: Sap SE
- Inventors: Martin Wegmann
- Web page: https://patentgrep.com/patent/US20100169867A1

## CPC

- G06F 11/3698: Environments for analysis, debugging or testing of software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Among other disclosed subject matter, a computer program product is tangibly embodied in a computer-readable storage medium and includes instructions that when executed by a processor perform a method for defining a conditional breakpoint in an application program. The method includes receiving a selection of an event in an application program by a user, the event selected for activating a conditional breakpoint that interrupts execution of the application program. The method includes receiving at least one condition of multiple predefined conditions that are associated with the event and made available to the user for selection, the condition selected by the user to condition activation of the conditional breakpoint. The method includes implementing the conditional breakpoint in relation to the application program, the conditional breakpoint configured to interrupt execution of the application program upon the event occurring provided that the condition is satisfied.

## Claims

### Claim 1

A computer program product tangibly embodied in a computer-readable storage medium and comprising instructions that when executed by a processor perform a method for defining a conditional breakpoint in an application program, the method comprising:
receiving a selection of an event in an application program by a user, the event selected for activating a conditional breakpoint that interrupts execution of the application program;
receiving at least one condition of multiple predefined conditions that are associated with the event and made available to the user for selection, the condition selected by the user to condition activation of the conditional breakpoint; and
implementing the conditional breakpoint in relation to the application program, the conditional breakpoint configured to interrupt execution of the application program upon the event occurring provided that the condition is satisfied.

### Claim 2 (depends on 1)

The computer program product of claim 1, further comprising:
receiving a selection of a portion of the application program, wherein the conditional breakpoint will interrupt the execution if the event occurs in the portion provided that the condition is met.

### Claim 3 (depends on 1)

The computer program product of claim 1, wherein the user generates inputs under guidance of a graphical user interface, further comprising:
populating a control with user-selectable events for the user to choose between, the control populated based on the portion identified by the user.

### Claim 4 (depends on 3)

The computer program product of claim 3, wherein the graphical user interface is configured so that upon the user not specifying any portion of the application program, the control is populated with at least one user-selectable event applicable to multiple portions of the application program.

### Claim 5 (depends on 3)

The computer program product of claim 3, wherein the graphical user interface includes a disablement control associated with the conditional breakpoint, wherein upon the user selecting the disablement control the conditional breakpoint is disabled and the event and condition remain associated with the conditional breakpoint.

### Claim 6 (depends on 1)

The computer program product of claim 1, wherein the conditional breakpoint is located in a startup section of the application program, executed before the application program generates a user interface.

### Claim 7 (depends on 1)

The computer program product of claim 1, wherein the conditional breakpoint is placed in the application program by a developer at a manufacturer entity, and wherein the conditional breakpoint is configured to remain in the application program as the application program is delivered to a customer entity and wherein user input identifying the event and the condition is received from the user at the customer entity.

### Claim 8 (depends on 1)

The computer program product of claim 1, further comprising:
receiving a definition of another breakpoint configured to interrupt the execution upon any event where a client communicates with a server.

### Claim 9 (depends on 1)

The computer program product of claim 1, further comprising:
receiving a definition of another breakpoint configured to interrupt the execution upon any error or exception in the execution of the application program.

### Claim 10

A computer program product tangibly embodied in a computer-readable storage medium and comprising instructions that when executed by a processor perform a method for activating a conditional breakpoint in an application program, the method comprising:
detecting a conditional breakpoint in an application program being executed, the conditional breakpoint detected at a location in the application program that was defined based on a user selecting an event for activation of the conditional breakpoint;
identifying a condition to which the conditional breakpoint is subject, the condition having been selected by the user from among multiple predefined conditions associated with the event to condition the activation; and
interrupting execution of the application program provided that the condition is satisfied.

### Claim 11 (depends on 10)

The computer program product of claim 10, further comprising:
launching a debugger application for the application program in response to the execution being interrupted.

### Claim 12 (depends on 10)

The computer program product of claim 10, wherein the conditional breakpoint is located in a startup section of the application program, and wherein the conditional breakpoint is detected in the execution of the startup section before the application program generates a user interface.

### Claim 13

A computer program product tangibly embodied in a computer-readable storage medium, the computer program product including instructions that, when executed, generate on a display device a graphical user interface for defining a conditional breakpoint in an application program, the graphical user interface comprising:
an event selection area for a user to select an event in an application program for activating a conditional breakpoint that interrupts execution of the application program; and
a condition selection area for the user to select at least one condition of multiple predefined conditions that are associated with the event, the condition selected to condition activation of the conditional breakpoint; and
wherein the conditional breakpoint is implemented in relation to the application program so that execution of the application program is interrupted provided that the condition is satisfied.

### Claim 14 (depends on 13)

The computer program product of claim 13, wherein the graphical user interface further comprises:
a disablement control associated with the conditional breakpoint, wherein upon the user selecting the disablement control the conditional breakpoint is disabled and the event and condition remain associated with the conditional breakpoint.

### Claim 15 (depends on 13)

The computer program product of claim 13, wherein the graphical user interface further comprises:
a breakpoint-defining control for defining another breakpoint configured to interrupt the execution upon any event where a client communicates with a server.

### Claim 16 (depends on 13)

The computer program product of claim 13, wherein the graphical user interface further comprises:
a breakpoint-defining control for defining another breakpoint configured to interrupt the execution upon any error or exception in the execution of the application program.

### Claim 17 (depends on 13)

The computer program product of claim 13, wherein the graphical user interface further comprises:
a portion selection area for the user to identify a portion of the application program, wherein the conditional breakpoint will break the application program during the execution if the event occurs in the portion provided that the condition is met.

### Claim 18 (depends on 13)

The computer program product of claim 13, wherein the graphical user interface further comprises:
a startup breaking control for the user to define the conditional breakpoint to be located in a startup section of the application program, wherein the conditional breakpoint is detected in the execution of the startup section before the application program generates a user interface.

### Claim 19 (depends on 13)

The computer program product of claim 13, wherein the condition selection area comprises:
at least one attribute selector for the user to choose at least one attribute of multiple attributes defined in the application program; and
at least one value control associated with the attribute selector for the user to enter a value for the attribute;
wherein the condition is satisfied upon the attribute having the value when the conditional breakpoint is detected.

### Claim 20 (depends on 19)

The computer program product of claim 19, wherein the condition selection area comprises multiple pairs of attribute selectors and value controls combined by a logical AND operator.
