主权项 |
1. A computer-implemented method, comprising:
executing, by a computing system, application program code into which an application program developer has introduced multiple portions of code that define multiple respective breakpoints; displaying, by the computing system, a user interface with which user input is able to specify a first condition that causes a first breakpoint of the multiple breakpoints to be activated upon the execution of the application program code reaching a location in the application program code at which the first breakpoint was introduced, wherein the user interface includes:
(i) a first user interface element with which user input is able to specify the first breakpoint from among the multiple breakpoints,(ii) a first attribute selection element with which user input is able to specify a first attribute that is used to define the first condition,(iii) a first attribute value selection element with which user input is able to specify a first attribute value that is used to define the first condition,(iv) a second attribute selection element with which user input is able to specify a second attribute that is used to define the first condition, and(v) a second attribute value selection element with which user input is able to specify a second attribute value that is used to define the first condition; receiving, by the computing system, an indication that user input:
(i) used the first user interface element to specify the first breakpoint from among the multiple breakpoints,(ii) used the first attribute selection element to specify the first attribute,(iii) used the first attribute value selection element to specify the first attribute value,(iv) used the second attribute selection element to specify the second attribute, and(v) used the second attribute value selection element to specify the second attribute value; determining, by the computing system upon the execution of the application program code reaching the location in the application program code at which the first breakpoint was introduced, that the first condition is satisfied due to:
(a) the first attribute having a first value that matches the first attribute value that was specified using the first attribute value selection element, and(b) the second attribute having a second value that matches the second attribute value that was specified using the second attribute value selection element; and activating, by the computing system and in response to determining that the first condition is satisfied, the first breakpoint by halting the execution of the application program code at the location in the application program code at which the first breakpoint was introduced.
|