Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2003-02

Re: How to obtain runtime type of class object in debugger

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Olle Raab

Thanks for all tips :)

However I am interested in how to, from within the IDE debugger (or GDB), "watch" the most specific class of an object without modifying the source code.

That is i will see class TClassB even if the object reference is of type TClassA:

type TClassA = class; TClassB = class(TClassA);

I assume the WMT of the object must be used for this...

Olle

Reply by email