Continuous query language (CQL) debugger in complex event processing (CEP)
First Claim
1. A method comprising:
- receiving, at a computer system, debugging configuration information specifying a functional area of a data stream processing server to be debugged, the functional area corresponding to at least one query plan object in a query plan associated with a continuous query;
identifying, by the computer system, the at least one query plan object in the query plan associated with the functional area that has been instantiated by the data stream processing server;
identifying, by the computer system, from the debugging configuration information, a first parameter identifying one or more events that cause debugging of the at least one query plan object, a second parameter identifying a level of detail for debugging the at least one query plan object, and a third parameter specifying a type of the at least one query plan object to be debugged, the level of detail determined based at least in part on the type of the at least one query plan object to be debugged;
determining, by the computer system, that tracing for the at least one query plan object is enabled to perform debugging of the at least one query plan object based at least in part on the first parameter, the second parameter and the third parameter, the first parameter, the second parameter and the third parameter being different from each other;
instantiating, by the computer system, a tracelet associated with the at least one query plan object, the tracelet including a segment of code for debugging the at least one query plan object;
stepping, by the computer system, through the tracelet associated with the at least one query plan object to debug the at least one query plan object; and
displaying, by the computer system, a visual representation of debugging results associated with the at least one query plan object.
1 Assignment
0 Petitions
Accused Products
Abstract
A method including receiving, at a computer system, debugging configuration information specifying a functional area of a data stream processing server to be debugged, is described. Furthermore, the method includes identifying, by the computer system, an object associated with the functional area that has been instantiated by the data stream processing server, determining, by the computer system, that tracing for the object is enabled to perform the debugging, and instantiating, by the computer system, a tracelet associated with the object. Further, the method includes stepping, by the computer system, through the tracelet associated with the object to debug the object, and displaying, by the computer system, a visual representation of debugging results associated with the object.
479 Citations
19 Claims
-
1. A method comprising:
-
receiving, at a computer system, debugging configuration information specifying a functional area of a data stream processing server to be debugged, the functional area corresponding to at least one query plan object in a query plan associated with a continuous query; identifying, by the computer system, the at least one query plan object in the query plan associated with the functional area that has been instantiated by the data stream processing server; identifying, by the computer system, from the debugging configuration information, a first parameter identifying one or more events that cause debugging of the at least one query plan object, a second parameter identifying a level of detail for debugging the at least one query plan object, and a third parameter specifying a type of the at least one query plan object to be debugged, the level of detail determined based at least in part on the type of the at least one query plan object to be debugged; determining, by the computer system, that tracing for the at least one query plan object is enabled to perform debugging of the at least one query plan object based at least in part on the first parameter, the second parameter and the third parameter, the first parameter, the second parameter and the third parameter being different from each other; instantiating, by the computer system, a tracelet associated with the at least one query plan object, the tracelet including a segment of code for debugging the at least one query plan object; stepping, by the computer system, through the tracelet associated with the at least one query plan object to debug the at least one query plan object; and displaying, by the computer system, a visual representation of debugging results associated with the at least one query plan object. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A non-transitory machine-readable storage medium having sets of instructions stored thereon which when executed by a machine, cause the machine to:
-
receive debugging configuration information specifying a functional area of a data stream processing server to be debugged, the functional area corresponding to at least one query plan object in a query plan associated with a continuous query; identify the at least one query plan object in the query plan associated with the functional area that has been instantiated by the data stream processing server; identify, from the debugging configuration information, a first parameter identifying one or more events that cause debugging of the at least one query plan object, a second parameter identifying a level of detail for debugging the at least one query plan object, and a third parameter specifying a type of the at least one query plan object to be debugged, the level of detail determined based at least in part on the type of the at least one query plan object to be debugged; determine that tracing for the at least one query plan object is enabled to perform debugging of the at least one query plan object based at least in part on the first parameter, the second parameter and the third parameter, the first parameter, the second parameter and the third parameter being different from each other; instantiate a tracelet associated with the at least one query plan object, the tracelet including a segment of code for debugging the at least one query plan object; step through the tracelet associated with the at least one query plan object to debug the at least one query plan object; and display a visual representation of debugging results associated with the at least one query plan object. - View Dependent Claims (14, 15, 16, 17)
-
-
18. A system comprising:
-
a memory device having sets of instructions stored thereon; and a computer processor in communication with the memory device, wherein the computer processor executes the instructions stored on the memory device, which cause the computer processor to; receive debugging configuration information specifying a functional area of a data stream processing server to be debugged, the functional area corresponding to at least one query plan object in a query plan associated with a continuous query; identify the at least one query plan object in the query plan associated with the functional area that has been instantiated by the data stream processing server; identify, from the debugging configuration information, a first parameter identifying one or more events that cause debugging of the at least one query plan object, a second parameter identifying a level of detail for debugging the at least one query plan object, and a third parameter specifying a type of the at least one query plan object to be debugged, the level of detail determined based at least in part on the type of the at least one query plan object to be debugged; determine that tracing for the at least one query plan object is enabled to perform the debugging of the at least one query plan object based at least in part on the first parameter, the second parameter and the third parameter, the first parameter, the second parameter and the third parameter being different from each other; instantiate a tracelet associated with the at least one query plan object, the tracelet including a segment of code for debugging the at least one query plan object; step through the tracelet associated with the at least one query plan object to debug the at least one query plan object; and display a visual representation of debugging results associated with the at least one query plan object. - View Dependent Claims (19)
-
Specification