Patent ID: 8863088

Claim:
A method comprising: determining a virtual return address for a debugging tool in response to the debugging tool executing a debugging finish command to continue execution on a source code; determining, by a processing device, that a line of the source code correctly corresponds to the virtual return address when the line of the source code calls a function executed by the debugging tool; querying, an address register for an instruction pointer value associated with an instruction address; setting the virtual return address to the instruction pointer value; determining, by the processing device, that the line of the source code that corresponds to the virtual return address is not correct in view of assembly language of the source code; modifying an address value of a virtual debugging instruction pointer to represent a different line of source code that is correct in response to the determination that the line of source code that corresponds to the virtual return address is not correct; and generating a debugging graphical user interface (GUI) that displays an indicator at the different line of source code that is correct using the address value of the virtual debugging instruction pointer.