Assembly debugging problem, Longan Nano

My host machine’s OS is Debian, my board is Longan Nano, my debugger is Sipeed USB-JTAG/TTL.

I haven’t got debugging working with Assembly files (.S). My project has both .S and .c files. I can set breakpoints to .S files but IDE’s debugging tool seems to avoid those files. Arrow pointer never appears in them. Debugger seems to get stuck somehow and complains that it doesn’t find files like foo.c while the actual file name in the project is foo.S

What to do?

Sounds like you have found a bug. Please file an issue at GitHub - sipeed/platform-gd32v: GD32V: development platform for PlatformIO with a minimal project and reproduction steps.