Breakpoint continuation for stream computing
First Claim
1. A method for debugging a stream computing application having a plurality of processing elements operating on one or more computer processors, each processing element having one or more stream operators, comprising:
- receiving a first stream of tuples at a first stream operator;
processing the first stream of tuples at the first stream operator;
pausing the processing at the first stream operator in response to receiving a first one of the tuples in the first stream that triggers a breakpoint in the first stream operator;
determining whether a first attribute of one or more tuples of the first stream received subsequent to pausing the processing meet an attribute condition;
determining whether first and second conditions to release the breakpoint are met,wherein the first condition to release the breakpoint is that a count of tuples of the first stream received subsequent to the pausing of the processing that meet the attribute condition is outside of a first threshold, andwherein the second condition to release the breakpoint is that a first quantity of tuples of the first stream per unit of time received subsequent to the pausing of the processing changes to a second quantity of tuples of the first stream per unit of time received subsequent to the pausing of the processing, and a difference between the first quantity of tuples of the first stream per unit of time and the second quantity of tuples of the first stream per unit of time is outside of a second threshold; and
releasing the breakpoint in response to determining that the first and second conditions are met.
1 Assignment
0 Petitions
Accused Products
Abstract
A first stream operator in a stream computing application receives and processes a first stream of tuples. The processing at the first stream operator is paused in response to receiving a first one of the tuples in the first stream that triggers a breakpoint in the first stream operator. A determination of whether a condition to release the breakpoint is met is made, and the breakpoint is released in response to determining that the condition is met. The condition to release the breakpoint may be that a count of tuples of the first stream is outside of a threshold. A second stream of tuples may be received for processing at a second stream operator. The condition to release the breakpoint may be that a count of tuples of the second stream is outside of a threshold.
-
Citations
2 Claims
-
1. A method for debugging a stream computing application having a plurality of processing elements operating on one or more computer processors, each processing element having one or more stream operators, comprising:
-
receiving a first stream of tuples at a first stream operator; processing the first stream of tuples at the first stream operator; pausing the processing at the first stream operator in response to receiving a first one of the tuples in the first stream that triggers a breakpoint in the first stream operator; determining whether a first attribute of one or more tuples of the first stream received subsequent to pausing the processing meet an attribute condition; determining whether first and second conditions to release the breakpoint are met, wherein the first condition to release the breakpoint is that a count of tuples of the first stream received subsequent to the pausing of the processing that meet the attribute condition is outside of a first threshold, and wherein the second condition to release the breakpoint is that a first quantity of tuples of the first stream per unit of time received subsequent to the pausing of the processing changes to a second quantity of tuples of the first stream per unit of time received subsequent to the pausing of the processing, and a difference between the first quantity of tuples of the first stream per unit of time and the second quantity of tuples of the first stream per unit of time is outside of a second threshold; and releasing the breakpoint in response to determining that the first and second conditions are met.
-
-
2. A computer program product for processing a stream of tuples, the computer program product comprising a non-transitory computer readable storage medium having program code embodied therewith, the program code comprising computer readable program code configured to facilitate debugging of a stream computing application having a plurality of processing elements operating on one or more computer processors, each processing element having one or more stream operators, comprising:
-
receiving a first stream of tuples at a first stream operator; processing the first stream of tuples at the first stream operator; pausing the processing at the first stream operator in response to receiving a first one of the tuples in the first stream that triggers a breakpoint in the first stream operator; determining whether a first attribute of one or more tuples of the first stream received subsequent to pausing the processing meet an attribute condition; determining whether first and second conditions to release the breakpoint are met, wherein the first condition to release the breakpoint is that a count of tuples of the first stream received subsequent to the pausing of the processing that meet the attribute condition is outside of a first threshold, and wherein the second condition to release the breakpoint is that a first quantity of tuples of the first stream per unit of time received subsequent to the pausing of the processing changes to a second quantity of tuples of the first stream per unit of time received subsequent to the pausing of the processing, and a difference between the first quantity of tuples of the first stream per unit of time and the second quantity of tuples of the first stream per unit of time is outside of a second threshold; and releasing the breakpoint in response to determining that the first and second conditions are met.
-
Specification