Step-through debugging via a UART on ARM Cortex-M MCUs | Interrupt

Hi, Jack3100:
Thank you for your reply and your working. I will try as your reply.
Could you tell AFIO_MAPR register address and the value, and could you shared stm32f103rc porting code or github website?