[lazarus] CVS updates

Marc Weustink marc.weustink at cuperus.nl
Thu Apr 25 05:42:34 EDT 2002


+ From: Peter Vreman [mailto:peter at freepascal.org]
+ Sent: donderdag 25 april 2002 7:39
+ To: lazarus at miraclec.com
+ Subject: Re: [lazarus] CVS updates
+
+
+ > Hi,
+ >
+ > Some updates consering debugging:
+ >
+ >   + Added watches
+ >      It is pretty primitive now, it will be better in future
+ >      - vars have to be typed in uppercase
+ >      - self isn't supported yet (use this)
+ >      - no formatting
+ >      - Objects cant be displayed (Has something to do with TObject)
+
+ Which gdb version do you use? GDB 5.1 has pascal suppport. The
+ only thing is that uppercase names are still required for accessing
+ fields of structures.

I use 5.1.1.

"self" isn't supported, on the locals view I translate "this" to "self"
since that is used in code.
At this moment I don't know what is wrong with objects, gdb should be able
to display them (dereferenced I mean). The moment you try to evaluate for
instance Application^ you get a message that the result couldn't be
converted to an integer. I suspect a problem with an enum or so in the
TObject base class. I haven't fully investigated it. Besides that there are
other ways to retrieve the data (they only cost me a bit more work)

What I mean with primitive is that in Delphi you can evaluate complex
expressions. In that case the gdb support is minimal (language differences)

Marc






More information about the Lazarus mailing list