Recent

Author Topic: has no component named Tag  (Read 19232 times)

lgrfbs

  • Jr. Member
  • **
  • Posts: 62
    • My CV page (On Swedish only)
Re: has no component named Tag
« Reply #30 on: February 21, 2017, 08:17:21 pm »
Can we calm down a little bit?
"Write Once
Compile Anywhere"
Sounds great ...

Okey, .tag was a bad example, but the problem is still there.
I have now been advised not to use the .tag, okey will do so.

Windows - Lazarus 1.6 r51630 FPC 3.0.0 i386-win32-win32/win64
Ctrl-F5 key do not work for me.
Watch List do not work with .tag (Just I shall not use it)


This feels like a wrench without the roller, use it as a hammer instead.  %)
OS : Win 10 64bit Home * Win 7 64bit Professional
Lazarus 1.8.4 r57972 FPC 3.0.4 i386-win32-win32/win64
Delphi 7.0 (Build 4.453)

rvk

  • Hero Member
  • *****
  • Posts: 4695
Re: has no component named Tag
« Reply #31 on: February 21, 2017, 08:31:32 pm »
Happy Birthday Thaddy.

Like I said before... the watch-list doesn't work for ANY property under Windows.
Are you saying you can view for instance TButton.Caption or TEdit.Text in a watch-list under Windows ????

Even if you create a new class and make a new property... THAT property can't be shown in the watch-list (under Windows). Only the direct class-variables (like FCaption, FTag etc.) can be shown in the watch-list. But this topic was about using direct "property" in the watch-list !!!

So, although the advise about not (mis)using tag is sound... it doesn't help OP to show a (or any) property in the watch-list.
« Last Edit: February 21, 2017, 08:33:14 pm by rvk »

lgrfbs

  • Jr. Member
  • **
  • Posts: 62
    • My CV page (On Swedish only)
Re: has no component named Tag
« Reply #32 on: March 14, 2022, 03:40:17 pm »
Hello to you, 5 years later, is it still true what rvk wrote in the post: #31 on: February 21, 2017, 08:31:32 pm ?
I tested in the Lazarus that is installed right now:
Lazarus 2.0.6 r62129 FPC 3.0.4 x86_64-win64-win32/win64

and it doesn't work there, it would be really nice /good if that function came to life.
Ctrl+F5 is working in this version.
Is there any small possibility that it works in the newest Lazarus?
OS : Win 10 64bit Home * Win 7 64bit Professional
Lazarus 1.8.4 r57972 FPC 3.0.4 i386-win32-win32/win64
Delphi 7.0 (Build 4.453)

rvk

  • Hero Member
  • *****
  • Posts: 4695
Re: has no component named Tag
« Reply #33 on: March 14, 2022, 05:12:29 pm »
Is there any small possibility that it works in the newest Lazarus?
I don't think it will ever work with GDB as debugger.

But you can try "FpDebug internal Dwarf-debugger". I saw that one does show properties in the Watch-window.
(at least in trunk)

You can set it under Tools > Options > Debugger > Debugger backend

dseligo

  • Hero Member
  • *****
  • Posts: 613
Re: has no component named Tag
« Reply #34 on: March 14, 2022, 05:55:20 pm »
Hello to you, 5 years later, is it still true what rvk wrote in the post: #31 on: February 21, 2017, 08:31:32 pm ?
I tested in the Lazarus that is installed right now:
Lazarus 2.0.6 r62129 FPC 3.0.4 x86_64-win64-win32/win64

and it doesn't work there, it would be really nice /good if that function came to life.
Ctrl+F5 is working in this version.
Is there any small possibility that it works in the newest Lazarus?

It works in Lazarus 2.2.0 with FpDebug.

Thaddy

  • Hero Member
  • *****
  • Posts: 11632
Re: has no component named Tag
« Reply #35 on: March 14, 2022, 05:59:40 pm »

It works in Lazarus 2.2.0 with FpDebug.
It partly works with fpdebug, but only for fields and not for getters and setters.
Black themes should be banned.

dseligo

  • Hero Member
  • *****
  • Posts: 613
Re: has no component named Tag
« Reply #36 on: March 14, 2022, 06:07:38 pm »

It works in Lazarus 2.2.0 with FpDebug.
It partly works with fpdebug, but only for fields and not for getters and setters.

Well, he asked if it works with Tag, and it does. :)

 

TinyPortal © 2005-2018