Debugger does not show variable value in unit testing

Hello!

I have a PlatformIO native project where I have added a dependency to ArduinoFake (mostly for FakeIt, not Arduino mock) to mock in unit testing.

When I mock a return value, the value does not show ok in debugger:

However simple values are shown correctly, only the ones from FakeIt have this symptoms.

Even if debugger does not show correctly, the tests are passing:

Building...
Testing...
test\test_native_sut\SUTTests.cpp:54: TestMock  [PASSED]

The sample project is available here: GitHub - dtila/platfornio_unittesting

Does anyone has an idea why?

1 Like

Thanks for the report. It looks like a bug, please report it to Issues · platformio/platformio-core · GitHub and put the link to this discussion.

Done

If I can help with something, let me know