I tried it in Release mode, with the newlib nano library ...
Edit the Command field as is shown in the following two screenshots:
Newlib NANO doesn't have support for floating point formatting. You need to switch to the standard library.
Then compiler is doing something nice, because it works. Without those parameters, doesn't.
Retrieving data ...