Variable changing type in expression viewer

Discuss how to use the features of Atollic TrueSTUDIO, including the editor, assembler, C/C++ compiler, linker, debugger, static code analysis and team collaboration tools.

Moderators: Markus Girdland, Mattias Norlander

Posts: 1
Joined: Fri Mar 01, 2019 1:32 pm

Variable changing type in expression viewer

Postby Sims » Fri Mar 01, 2019 1:38 pm

Hello everybody,

I'm currently experiencing something very weird.
I declared a int16_t global variable in my main.c. I wanted to check that it was properly updated at every step of the program so I typed it in the Expression viewer. After launching a debug, I noticed that the wiever take this variable as a double from the begining of the main loop. And the content of this variable is printed in a useless format.

I tried to import the project on another PC and everything worked fine. But it's not my work PC.

I would like to know if someone have an idea about how to correct that.

Thank you

Return to “Atollic TrueSTUDIO tool discussions”

Who is online

Users browsing this forum: No registered users and 1 guest