Posts: 4
Threads: 2
Joined: Jun 2022
Reputation:
0
16-05-2025, 12:42 AM
(This post was last modified: 16-05-2025, 12:59 AM by Salamander.)
Have forgot how to turn on "live view" when mousing over changing variables , how was this done?
Example:
MG6acc1+= MG6fc1; // 32bit up counter
MG6buff1= MG6acc1>>16; //16 top MSB up count stored in MG6buff1
I can see MG6acc1 counter values flying by but nothing in MG6buff1 when mousing over.
Posts: 260
Threads: 15
Joined: Apr 2020
Reputation:
17
Is that MG6buff1 a local or a global (static) variable? Every variable known by GDB can be live observed.
Could you share a small project to show us what you are doing?
Posts: 4
Threads: 2
Joined: Jun 2022
Reputation:
0
17-05-2025, 03:08 AM
(This post was last modified: 17-05-2025, 03:57 AM by Salamander.)
MG6buff1 is a global accessible variable. It's part of a old but active project, cant share it, mousing over used to work.
Posts: 260
Threads: 15
Joined: Apr 2020
Reputation:
17
17-05-2025, 07:45 AM
(This post was last modified: 17-05-2025, 07:48 AM by embitz.)
Apparently it is working because MG6acc1 is visible.
Did you change the optimization level?
I can't help you because I don't see that problem here, unless you make a small project with that problem, and share it.
Tips:
1) Try a GDB query of that variable in the debug terminal window. I guess it is unknown.
2) Add that variable to the watches and turn live view on, and see what happens.