problem with debugging the GPIO existing code on the stm32L4RG board
Hi Neham,
I never had this problem, but your first issue looks like the program is not being correctly downloaded to the board... Maybe the connection between your STLink and your target MCU is not ok. I can conclude that because the GDB debugger messages from STLink status looks OK (like target voltage, PID etc) and messages from MCU are saying thats something is wrong.
You can try to connect to your MCU via STLink Util (don't know if there's linux version) and try to make a "erase chip" and then a "blank check". Try it, it should say something about the connection between your MCU and STLink.
For your second issue, I don't know... Can you provide us some information about your "debugger settings"?
Project proprieties -> Run/Debug settings, TAB "debugger"
Thanks,
Danilo