CLion debug variables binary view for embedded dev



I'm wondering if, while debugging, there is any way to see variables and watches in binary in CLion. I work mostly on embedded projects, and it is very convenient to see variables in binary in order to monitor registers etc. The best thing would be some kind of bit number info aswell, because it's really easier to compare with reference manuals this way. For now, I'm copying values into Windows calculator in order to see bit number but it bothers me. I know it's possible to do everything just using HEX values and process mentally, but I'm not confortable with it yet.


Thanks in advance



It is not very convenient, but you can evaluate variable in gdb/lldb console using `p/t <expression>`


Please sign in to leave a comment.