Re: [fpc-pascal] TReader.ReadProperty

2010-11-04 Thread Brian Winfrey
See post from about two weeks ago. "Building FPC with debug information" On Wed, Nov 3, 2010 at 3:39 AM, Roland Turčan - RoTurSoft wrote: > > > On Wed, Nov 3, 2010 at 9:17 AM, Michael Van Canneyt > wrote: >>> >>> PS: How can I debug TReader class, because debuger steps over my calls >>> from >>>

Re: [fpc-pascal] TReader.ReadProperty

2010-11-04 Thread Roland Turčan - RoTurSoft
On Wed, Nov 3, 2010 at 9:17 AM, Michael Van Canneyt wrote: > PS: How can I debug TReader class, because debuger steps over my calls from >> TReader. >> > > You must recompile the RTL with debug information, and then recompile your > project. > > Thanks for answer, but please could you assist me ho

Re: [fpc-pascal] TReader.ReadProperty

2010-11-03 Thread Michael Van Canneyt
On Wed, 3 Nov 2010, Fred Flinestone wrote: On Wed, Nov 3, 2010 at 9:17 AM, Michael Van Canneyt wrote: You must recompile the RTL with debug information, and then recompile your project. I am using Ubuntu 10.04 with create_fpc_deb.sh script to get FPC DEB package and this script doesn't

Re: [fpc-pascal] TReader.ReadProperty

2010-11-03 Thread Fred Flinestone
On Wed, Nov 3, 2010 at 9:17 AM, Michael Van Canneyt wrote: > You must recompile the RTL with debug information, and then recompile your > project. > > I am using Ubuntu 10.04 with create_fpc_deb.sh script to get FPC DEB package and this script doesn't have option to set OPT=-gl to build debug ve

Re: [fpc-pascal] TReader.ReadProperty

2010-11-03 Thread Michael Van Canneyt
On Wed, 3 Nov 2010, Fred Flinestone wrote: hi all, i am trying to replace the code from delphi to fpc where the code looks like: TYPE THackReader =class(TReader); ... FReaderStream.Position := 0; {$IFDEF FPC} try FReader.ReadListBegin; while not FReader.EndOfList do begi

[fpc-pascal] TReader.ReadProperty

2010-11-02 Thread Fred Flinestone
hi all, i am trying to replace the code from delphi to fpc where the code looks like: TYPE THackReader =class(TReader); ... FReaderStream.Position := 0; {$IFDEF FPC} try FReader.ReadListBegin; while not FReader.EndOfList do begin THackReader(FReader).ReadProperty