Forum > Debugger
Lazarus 3.9.9 Variable Watches Fail (But Debugger Tooltips Work!)
msintle:
--- Quote from: Martin_fr on January 22, 2024, 03:41:55 pm ---If you select ("set as current" any stackframe other than the top frame, then the register will never be used.
So it does not matter if the register-patch is applied or not.
In other words:
1- The bug I fixed, does not (and never has) affected any watches on the 2nd (or further down) stackframe
2- But, the open stack window, did not help as workaround on your setup (yet it did on mine).
(2) Can be explained by either
- This can happen, and it can happen without any bug present
- This can happen if there is a 2nd bug (of which we don't yet know).
So to make sure there is not such 2nd bug, it should be tested.
See the image.
The stack can be selected with either the "green button" or from the context menu.
The selected stack has the small green arrow at the left side of the line (before the number, where the grey dots are).
If you select the 2nd stack, then variables from the current function/procedure may show "Identifier not found" => that is correct.
Instead you can see variables from the selected stack.
--- End quote ---
Great news, it worked just fine.
OK to delete the test project now?
Very interesting trick to know, by the way.
Martin_fr:
--- Quote from: msintle on January 22, 2024, 10:37:09 pm ---Great news, it worked just fine.
--- End quote ---
Good, thanks for testing.
--- Quote ---OK to delete the test project now?
--- End quote ---
Yes, well, as you like.
--- Quote ---Very interesting trick to know, by the way.
--- End quote ---
;)
msintle:
Thanks for all the help!
Navigation
[0] Message Index
[*] Previous page