Recent

Author Topic: Values in Watch window when debugging  (Read 703 times)

Birger52

  • Sr. Member
  • ****
  • Posts: 309
Values in Watch window when debugging
« on: October 20, 2020, 12:53:43 pm »
Having a problem with debugging.
Comparing the text in a TEdit to the Caption of a TLabel.
If I set TEdit.Text in watch window, it tells me that TEdit does not have a property called Text.
Likewise with TLabel.Caption.

So how do I debug this, when the two values are the same, but the comparison acts as if they are not, and I can not see the form while debugging?
Lazarus 2.0.8 FPC 3.0.4
Win7 64bit
Playing and learning - strictly for my own pleasure.

Handoko

  • Hero Member
  • *****
  • Posts: 5131
  • My goal: build my own game engine using Lazarus
Re: Values in Watch window when debugging
« Reply #1 on: October 20, 2020, 01:03:57 pm »
Similar problem was asked some days ago. Read the thread in the link below, perhaps it can help you too:
https://forum.lazarus.freepascal.org/index.php/topic,51744.0.html

 

TinyPortal © 2005-2018