Hi,
I'm a bit confused with the inability to modify a variable value in the debugger.
When stepping throught the code, I select a variable name , select Evaluate/Modify and see it displayed.
I try editing the value directly as shown but nothing happens. Then I spot way down at the bottom of the window a dropdown list with "new value" in grey. Yes, that looks like what I need.
I enter the new value and hit the ":=" button and ...... nothing changes.
Then I discover a hover hint which says "Shift-Enter to confirm". Ah, that must be it.
I type Shift-Enter and ...... nothing changes.
The eval display at the top is unchanged and when I hover the variable in the source code, it still has the same value.
I've found I can change an integer , as expected, but this variable is a pascal string.
filename:string[pathlen+1+12];
On the console I find this.
### TCodeToolManager.HandleException: [20170421200105] "identifier not found: filename" at Line=799 Col=5 in "~/laz/pack.pas"
Why don't I get an error in the IDE instead of it stupidly ignoring it and doing nothing ?
It seems like there is a problem, either with pascal strings or more likely with user defined variable types.
TIA.
Lazarus 2.3.0 (rev main-2_3-2165-gc63984efd6) FPC 3.3.1 x86_64-linux-gtk2