Runtime exception and bug identification within an integrated development environment
First Claim
1. A system comprising:
- a memory; and
one or more computer processors, communicatively coupled to the memory, the one or more computer processors configured to;
select one or more program components to be monitored from among a plurality of program components, wherein the selecting is based on activation by a user;
associate a respective counter with each program component of the one or more program components selected to be monitored;
monitor one or more data sources responsive to a first execution of the one or more program components;
encounter one or more events in the one or more data sources resulting from the first execution of the one or more program components during the first execution of the one or more program components;
generate one or more messages in one or more notification files, each message describing a respective event encountered during the first execution and related to a program component of the one or more program components, responsive to encountering the one or more events in the one or more data sources; and
increment the respective counter associated with each program component of the one or more program components, for each message generated describing a respective event encountered related to the program component;
notify of the one or more messages within an integrated development environment (IDE), each of the one or more messages associated in the IDE with a corresponding source file at the corresponding line number, wherein the notifying of the one or more messages within the IDE comprises;
parsing each of the one or more messages for a name of the corresponding source file in which the associated event was encountered, a corresponding line number at which the associated event was encountered, and a full stack trace of the event;
displaying a respective event notification in the IDE associated with each program component, of the one or more program components, having a respective counter with a value greater than zero, wherein the respective event notification associated with a program component is sized based on the value of the respective counter of the program component; and
displaying the full stack trace of the event within the IDE in association with the corresponding line number of the corresponding source file;
wherein the one or more messages notified of within the IDE are related to the one or more program components selected from the plurality of program components.
1 Assignment
0 Petitions
Accused Products
Abstract
In one embodiment, a computer-implemented method includes monitoring one or more data sources resulting from execution of one or more program components. One or more events are encountered in the one or more data sources during the execution of the one or more program components. One or more messages are generated, with each message describing an event encountered. Each of the one or more messages is parsed for a name of a corresponding source file in which an associated event was encountered, a corresponding line number at which the event was encountered, and at least one of: a timestamp, severity level, full stack trace, category of the event, and summary of the event. The one or more messages are notified of within an integrated development environment (IDE). Each of the one or more messages is associated in the IDE with the corresponding source file at the corresponding line number.
15 Citations
10 Claims
-
1. A system comprising:
-
a memory; and one or more computer processors, communicatively coupled to the memory, the one or more computer processors configured to; select one or more program components to be monitored from among a plurality of program components, wherein the selecting is based on activation by a user; associate a respective counter with each program component of the one or more program components selected to be monitored; monitor one or more data sources responsive to a first execution of the one or more program components; encounter one or more events in the one or more data sources resulting from the first execution of the one or more program components during the first execution of the one or more program components; generate one or more messages in one or more notification files, each message describing a respective event encountered during the first execution and related to a program component of the one or more program components, responsive to encountering the one or more events in the one or more data sources; and increment the respective counter associated with each program component of the one or more program components, for each message generated describing a respective event encountered related to the program component; notify of the one or more messages within an integrated development environment (IDE), each of the one or more messages associated in the IDE with a corresponding source file at the corresponding line number, wherein the notifying of the one or more messages within the IDE comprises; parsing each of the one or more messages for a name of the corresponding source file in which the associated event was encountered, a corresponding line number at which the associated event was encountered, and a full stack trace of the event; displaying a respective event notification in the IDE associated with each program component, of the one or more program components, having a respective counter with a value greater than zero, wherein the respective event notification associated with a program component is sized based on the value of the respective counter of the program component; and displaying the full stack trace of the event within the IDE in association with the corresponding line number of the corresponding source file; wherein the one or more messages notified of within the IDE are related to the one or more program components selected from the plurality of program components. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer program product for notifying of events encountered in program components, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to perform a method comprising:
-
selecting one or more program components to be monitored from among a plurality of program components, wherein the selecting is based on activation by a user; associating a respective counter with each program component of the one or more program components selected to be monitored; monitoring one or more data sources responsive to a first execution of one or more program components; encountering one or more events in the one or more data sources resulting from the first execution of the one or more program components during the first execution of the one or more program components; generating one or more messages in one or more notification files, each message describing a respective event encountered during the first execution and related to a program component of the one or more program components, responsive to encountering the one or more events in the one or more data sources; and incrementing the respective counter associated with each program component of the one or more program components, for each message generated describing a respective event encountered related to the program component; notifying of the one or more messages within an integrated development environment (IDE), each of the one or more messages associated in the IDE with the corresponding source file at the corresponding line number, wherein the notifying of the one or more messages within the IDE comprises; parsing each of the one or more messages for a name of the corresponding source file in which the associated event was encountered, a corresponding line number at which the associated event was encountered, and a full stack trace of the event; displaying a respective event notification in the IDE associated with each program component, of the one or more program components, having a respective counter with a value greater than zero, wherein the respective event notification associated with a program component is sized based on the value of the respective counter of the program component; and displaying the full stack trace of the event within the IDE in association with the corresponding line number of the corresponding source file; wherein the one or more messages notified of within the IDE are related to the one or more program components selected from the plurality of program components. - View Dependent Claims (7, 8, 9, 10)
-
Specification