Thread-specific presentation of breakpoints
AssigneeInternational Business Machines Corporation
InventorCary L. Bates
Life of this patent
Estimating the term…
Abstract
A method, system and computer program product for performing thread-specific display of breakpoints are disclosed. The method includes, in response to determining that an event received from a user interface is a request to update a source code of a software module, updating a source display pane and determining whether a first breakpoint is capable of firing in a current thread. In response to determining that the first breakpoint is not capable of firing in the current thread, the first breakpoint is displayed in an altered display state to indicate that the first breakpoint cannot be hit in the current thread.
Claims18
A method for performing thread-specific display of breakpoints, said method comprising:
- presenting a graphical user interface of a verification environment, the user interface including a plurality of panes including a source display pane and a threads display pane;
- presenting source code of a software module undergoing execution by a debugger within the source display pane, the software module including a plurality of threads;
- presenting within the source display pane a visual breakpoint indicator indicating a location of a first breakpoint in the source code;
- presenting the plurality of threads of the software module in the threads display pane of the user interface;
- in response to selection via the threads display pane of a current thread among the plurality of threads, determining whether the first breakpoint can be reached by execution of the current thread;
- and
- performing thread-specific display of breakpoints by:
- in response to determining that said first breakpoint cannot be reached by execution of said current thread, graphically indicating in one of the plurality of panes other than the source display pane that said first breakpoint cannot be reached by execution of said current thread;
- and
- in response to determining that said first breakpoint can be reached by execution of said current thread, graphically indicating that the first breakpoint can be reached by execution of the current thread.
A data processing system for performing thread-specific display of breakpoints, said data processing system comprising:
- a processor;
- and
- data storage coupled to the processor that stores program code that, when executed by the processor, causes the data processing system to perform:
- presenting a graphical user interface of a verification environment, the user interface including a plurality of panes including a source display pane and a threads display pane;
- presenting a source code of a software module undergoing execution by a debugger within the source display pane, the software module including a plurality of threads;
- presenting within the source display pane a visual breakpoint indicator indicating a location of a first breakpoint in the source code;
- presenting the plurality of threads of the software module in the threads display pane of the user interface;
- in response to selection via the threads display pane of a current thread among the plurality of threads, determining whether the first breakpoint can be reached by execution of the current thread;
- and
- presenting thread-specific breakpoints by:
- in response to determining that said first breakpoint cannot be reached by execution of said current thread, graphically indicating in one of the plurality of panes other than the source display pane that said first breakpoint cannot be reached by execution of said current thread;
- and
- in response to determining that said first breakpoint can be reached by execution of said current thread, graphically indicating that the first breakpoint can be reached by execution of the current thread.
A program product, comprising:
- a machine-readable storage medium storing a plurality of instructions processable by a machine, wherein said plurality of instructions, when processed by said machine, causes said machine to perform:
- presenting a graphical user interface of a verification environment, the user interface including a plurality of panes including a source display pane and a threads display pane;
- presenting a source code of a software module undergoing execution by a debugger within the source display pane, the software module including a plurality of threads;
- presenting within the source display pane a visual breakpoint indicator indicating a location of a first breakpoint in the source code;
- presenting the plurality of threads of the software module in the threads display pane of the user interface;
- in response to selection via the threads display pane of a current thread among the plurality of threads, determining whether the first breakpoint can be reached by execution of the current thread;
- and
- presenting thread-specific breakpoints by:
- in response to determining that said first breakpoint cannot be reached by execution of said current thread, graphically indicating in one of the plurality of panes other than the source display pane that said first breakpoint cannot be reached by execution of said current thread;
- and
- in response to determining that said first breakpoint can be reached by execution of said current thread, graphically indicating that the first breakpoint can be reached by execution of the current thread.
Dependencies are inferred from the claim text.