US9176848(IBM [US])
1. A processor-implemented debugging method, comprising:
obtaining at least one debug information record associated with a weak function of a program;
in response to receipt of an instruction of setting a breakpoint for the weak function in the program, obtaining breakpoint addresses corresponding one-to-one with each of the at least one debug information record according to the obtained at least one debug information record associated with the weak function of the program;
in response to the program being executed to a set breakpoint associated with the weak function, obtaining an address to which a program counter of the program points;
obtaining a breakpoint address matching the address to which the program counter of the program points, from the breakpoint addresses corresponding one-to-one with each of the at least one debug information record;
setting a mark for the matching breakpoint address in the at least one debug information record associated with the weak function of the program; and
in response to receipt of the instruction of setting a breakpoint for the weak function in the program again, obtaining a debug information record corresponding to the matching breakpoint address according to the at least one debug information record with the mark being set.