Recent

Author Topic: unable to validate varable defined in object  (Read 2274 times)

wseifert

  • Newbie
  • Posts: 2
unable to validate varable defined in object
« on: January 03, 2015, 01:15:59 pm »
If I try to watch a variable defined in object public (or private) section debugger reports class has no component.
What settings for GBD are needed to see such varialbles?

Thanks
Werner

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11795
  • Debugger - SynEdit - and more
    • wiki
Re: unable to validate varable defined in object
« Reply #1 on: January 03, 2015, 02:01:11 pm »
Variable or property?
http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Properties

Debugger setup:
http://wiki.lazarus.freepascal.org/Debugger_Setup

if variable, than please add info:
- sample code
- OS: Win, Linux, Mac
- exact error

wseifert

  • Newbie
  • Posts: 2
Re: unable to validate varable defined in object
« Reply #2 on: January 08, 2015, 08:30:39 am »
I followed the Debugger setup hint (by the way, the screen shots do not match to lazarus 1.2.6 ide I use ...), but no success.
I come from Delphi, the debugger integrated in delphi is able to dereference variable and property defined in public and /or private section of an object, so I miss this heavy in lazarus.
I cannot provide you a code example of my project, it is to complex and big (I have converted over the last month a delphi project to lazarus with ~ 27 Units), but be Informed that I use Delphi (and Turbo Pascal) since Turbo Pascal 3.0 running on a Commodore 128 CP/M OS, so I am not a newbie ...

Werner

 

TinyPortal © 2005-2018