Debugger shows assembly instead of C

I have a libopencm3 project for STM32F411 which I cannot debug properly since some time.
It starts as usual, comes to a brakepoint but in the asembly list, not in the C source. Stepping around works fine.
Looks like:


Previously, the Language shows “Disasembly”, here I switched to C.

The debug-console does not show anything unusual:

Reading symbols from C:\Users\krunoslav.ostrouska.TELE\Documents\PlatformIO\Projects\MotorController2_�C\.pio\build\genericSTM32F411CE\firmware.elf...
done.
PlatformIO Unified Debugger -> https://bit.ly/pio-debug
PlatformIO: debug_tool = stlink
PlatformIO: Initializing remote target...
xPack OpenOCD x86_64 Open On-Chip Debugger 0.11.0+dev (2021-10-16-21:19)
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
hla_swd
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
Info : tcl server disabled
Info : telnet server disabled
Info : clock speed 2000 kHz
Info : STLINK V2J21S4 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.296366
Info : stm32f4x.cpu: Cortex-M4 r0p1 processor detected
Info : stm32f4x.cpu: target has 6 breakpoints, 4 watchpoints
Info : starting gdb server for stm32f4x.cpu on pipe
Info : accepting 'gdb' connection from pipe
target halted due to debug-request, current mode: Thread 
xPSR: 0x61000000 pc: 0x08000b02 msp: 0x2001ffe0
Info : device id = 0x10006431
Info : flash size = 512 kbytes
Info : flash size = 512 bytes
0x08000b02 in usart_rx_isr (buffer=0x0, UART=0) at lib\Serial\uart.c:452
452				buffer->RXBuffer[(buffer->RXI)++]=rxByte;
target halted due to debug-request, current mode: Thread 
xPSR: 0x01000000 pc: 0x080022bc msp: 0x20020000
Loading section .text, size 0x589c lma 0x8000000
Loading section .ARM.exidx, size 0x8 lma 0x800589c
Loading section .data, size 0x20c8 lma 0x80058a4
target halted due to debug-request, current mode: Thread 
xPSR: 0x01000000 pc: 0x08004b28 msp: 0x20020000
Start address 0x8004b28, load size 31084
Transfer rate: 12 KB/sec, 7771 bytes/write.
target halted due to debug-request, current mode: Thread 
xPSR: 0x01000000 pc: 0x08004b28 msp: 0x20020000
target halted due to debug-request, current mode: Thread 
xPSR: 0x01000000 pc: 0x08004b28 msp: 0x20020000
Temporary breakpoint 1 at 0x8000630: file src\main.c, line 65.
PlatformIO: Initialization completed
PlatformIO: Resume the execution to `debug_init_break = tbreak main`
PlatformIO: More configuration options -> https://bit.ly/pio-debug
Note: automatically using hardware breakpoints for read-only addresses.

Temporary breakpoint 1, main () at src\main.c:65
65	{

The debug configuration:

        {
            "type": "platformio-debug",
            "request": "launch",
            "name": "PIO Debug",
            "executable": "C:/Users/krunoslav.ostrouska.TELE/Documents/PlatformIO/Projects/MotorController2_µC/.pio/build/genericSTM32F411CE/firmware.elf",
            "projectEnvName": "genericSTM32F411CE",
            "toolchainBinDir": "C:/Users/krunoslav.ostrouska.TELE/.platformio/packages/toolchain-gccarmnoneeabi/bin",
            "internalConsoleOptions": "openOnSessionStart",
            "svdPath": "C:/Users/krunoslav.ostrouska.TELE/.platformio/platforms/ststm32/misc/svd/STM32F411xx.svd",
            "preLaunchTask": {
                "type": "PlatformIO",
                "task": "Pre-Debug"
            }
        },

Do someone know what’s wrong?

It was simple problem:
the project directory was named: /MotorController2_µC
After renameing it to /MotorController2_uC the debugging started to work!

There must be some PlatformIO/gdd specific problem with non-ASCII characters. The gcc and programmer are not affected, but the debugger is.

Can you report this to https://github.com/platformio/platformio-core/issues?

done: Debugging issue: C source not shown when path (or project folder) contains a non ASCII-128 character · Issue #4795 · platformio/platformio-core · GitHub