If you have made changes to a function presently on the stack, but not to the stopped in function, the changed code is not used for the present call of that function. When the stopped in function returns, the old versions of the function on the stack are executed.
There are several ways to solve this problem:
Use the pop command to pop the stack until all changed functions are removed from the stack. You need to know your code to be sure that no problems are created.
Use the cont at line_number command to continue from another line.
Manually repair data structures (use the assign command) before continuing.
Rerun the program using the run command.
If there are breakpoints in modified functions on the stack, the breakpoints are moved to the new versions of the functions. If the old versions are executed, the program does not stop in those functions.