Recent

Author Topic: IDE debugging - object properties values?  (Read 5862 times)

ssamayoa

  • Full Member
  • ***
  • Posts: 163
IDE debugging - object properties values?
« on: September 24, 2007, 05:31:45 pm »
General speaking I'm very glad on how lazarus is working on Windows.

But what is a pain is the inabilty of evaluate / wach object properties.

Is some plan about this issue?

Debigging with this feature is a really pain.

Regards.

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2649
RE: IDE debugging - object properties values?
« Reply #1 on: September 25, 2007, 01:13:48 pm »
As long as gdb is used there is no plan. GDB has no support for properties.
What you can do is evaluating Fproperty (the field directly)

For our own debugger I'll try to get properties into the dwarf specs.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

ssamayoa

  • Full Member
  • ***
  • Posts: 163
RE: IDE debugging - object properties values?
« Reply #2 on: September 25, 2007, 02:31:50 pm »
Quote

What you can do is evaluating Fproperty (the field directly)

What you mean?
Please explain.
Regards.

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2649
RE: IDE debugging - object properties values?
« Reply #3 on: September 26, 2007, 11:19:27 am »
Usually a property is defined like:
Code: [Select]
property MyProp: Integer read FMyProp write SetPmyProp;
evaluating MyProp fails since the symbol MyProp doesn't exist. So what you can do is evaluating FMyProp.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

 

TinyPortal © 2005-2018