... If you are interested in knowing more about the issue, please let me know.
@avafinger, you could try to see if the same steps work properly in command-line GDB without Geany.
If the issue is persistent in Geany, then you may describe it in a new issue against the Debugger plugin.