Patent ID: 8336032

Claim:
A computer-implemented method, performed by a debugging program, for executing an operation on at least one breakpoint within a program, comprising the steps of: receiving a selection to execute the operation, wherein the program includes a template; in response to a first selection, setting a breakpoint in all expansions of the template and displaying a multiple breakpoints icon indicating that multiple breakpoints are set on multiple expansions of the template; determining whether or not an expansion of the template is active in a call stack; responding to one or more subsequent selections based on the determining step, wherein the responding step includes: upon determining that an expansion of the template is active in the call stack, performing the steps of: in response to a second selection, setting a breakpoint in only a single expansion of the template that is active in the call stack, removing the multiple breakpoints icon, and displaying a single breakpoint icon indicating that a breakpoint is set in a single expansion of the template; and in response to a third selection, removing any breakpoint set in any expansion of the template and removing the single breakpoint icon; or upon determining that an expansion of the template is not active in the call stack, performing the step of: in response to a second selection, removing any breakpoint set in any expansion of the template and removing the multiple breakpoints icon.