Data members not refreshing in Debugger

General questions regarding the usage of CodeLite
fsm123
CodeLite Curious
Posts: 1
Joined: Thu Jan 20, 2022 8:35 pm
Genuine User: Yes
IDE Question: C++
Contact:

Data members not refreshing in Debugger

Post by fsm123 »

I'm new to CodeLite and have run across an issue viewing data members in the debugger. Using a simple class:

Code: Select all

class Test
{
public:
   int m_value = 10;
   void add() { m_value+=10;}
};

If I step through, and call:
Test temp;
temp.add();
The program works fine but the "Locals" view will not show the new value unless I manually hit the "refresh" button. Normal variables seem to work fine.
Have found a post describing the issue from 2016 here: https://github.com/eranif/codelite/issues/1301

I'm on Mint 20.2, CodeLite 13.0.0.

Is there a fix, or even a way to automatically refresh every time I step? I've attached a screenshot of the issue.

You do not have the required permissions to view the files attached to this post.
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Data members not refreshing in Debugger

Post by eranif »

thanks for reporting this, I confirmed this.
can you post this on GitHub?

Thanks

Make sure you have read the HOW TO POST thread
fsm123
CodeLite Curious
Posts: 1
Joined: Thu Jan 20, 2022 8:35 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Data members not refreshing in Debugger

Post by fsm123 »

Posted on github...at least I think. Created an account just for this, which was immediately flagged as "spammy". I'm not sure anyone can see it unless that gets resolved :(

Last edited by fsm123 on Sat Jan 22, 2022 9:06 am, edited 2 times in total.
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Data members not refreshing in Debugger

Post by eranif »

can you post a link to your report on GitHub?

Make sure you have read the HOW TO POST thread
Post Reply