CLion debug variables binary view for embedded dev
已回答
Hello,
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
请先登录再写评论。
Hello!
Feel free to comment or upvote the related feature request - https://youtrack.jetbrains.com/issue/CPP-12303. See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with YouTrack.
It is not very convenient, but you can evaluate variable in gdb/lldb console using `p/t <expression>`