Getting the Typename of an Object?!?

Hi there...

Now that I use Pascal for several years, I can say I have some knownledge of
this language...

BUT. I try to write some Graphical User Interface (well it's even more then
that), and now, for internal debugging facilities I really would like to
know the NAME of an Object... "TObject", "TButton", "TWindow" etc...
Or even better the variable name used... "MyWindow : TWindow", "MyButton :
TButton" etc..

I DO KNOW that all these names are not stored in the programm directly, but
BP creates some debugging information and THESE information, I would like to
Does anyone know how to get them?!

Bye JoB