Page 1 of 1

Data members not refreshing in Debugger

Posted: Thu Jan 20, 2022 9:05 pm
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.


Re: Data members not refreshing in Debugger

Posted: Thu Jan 20, 2022 11:17 pm
by eranif

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

Thanks


Re: Data members not refreshing in Debugger

Posted: Sat Jan 22, 2022 8:43 am
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 :(


Re: Data members not refreshing in Debugger

Posted: Sun Jan 30, 2022 12:34 am
by eranif

can you post a link to your report on GitHub?