Lars E. wrote:
Is there any way you can print the values of class members in GDB?
E.g.:

TRobot = class(TObject)
public
    Name: String;
end;

...

var
    Robot: TRobot;

How would you print Robot.Name?

Assuming you have compiled with debuginfo,

GDB> x/s ROBOT^.NAME

Marc

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to