The Road to Delphi

Delphi – Free Pascal – Oxygene

Fun with Delphi RTTI – Rtti Explorer Lite

17 Comments

Just for fun, I wrote an application (unit) to inspect the types (With RTTI info) used on my projects developed using Delphi 2010 and Delphi XE.

This project has these features

  • A hierarchical view of all types   With Rtti info, tha data is showed  following this structure Package->Unit->Type->Fields (Methods, properties, fields)
  • Show rtti information about any Rtti element
  • Search a particular Rtti Element
  • A hierarchical view of all existing classes in your project

Check the Screenshots

This slideshow requires JavaScript.

If you want use this unit in your own projects (Delphi 2010 or Delphi XE), simply add the unit MainRttiExpl to your project and run the procedure ShowRttiLiteExplorer

The source code is available in Github and the demo app is here.

Links updated, now using Dropbox ;).

Author: Rodrigo

Just another Delphi guy.

17 thoughts on “Fun with Delphi RTTI – Rtti Explorer Lite

  1. Very nice, a developer can learn a lot about RTTI browsing the source code!!

  2. Why use Rapidshare ? I naively assume that when someone publishes some code, he wants his fellow developpers read it as unobstruvely as possible. Downloading your code is a pain in the neck !

    • i’m sorry Felix, I Knew wich use rapidshare is annoying sometimes, but I have no other option at the moment, because “wordpress.com”. Does not allow binary attachments as zip or rar, in free plans (like my blog). if you have other suggestions to share files this will be welcome.

    • Felix the links was updated to dropbox.

  3. Maybe You can use https://www.dropbox.com/features which also allows Public sharing files with others?

    ChAr

  4. it would be better to host it on Google code or SourceForge, so anyone can browse it without downloading, and also it will be easier for you when you have updated version to publish.

  5. Muy interesante el tema (personalmente RTTI me parece apasionante) y el código de ejemplo.

    Un saludo.

  6. Download links are broken.

  7. thanks for the anwswer. But don’t worry, I did wait the 2 or 3 minutes to get the code before writing my post. In any case, congratulation for your blog which is among the few ones whith solid code or technical information, an not only off-topic buzz rehash

  8. Great stuff. Very nicely done.

  9. thanks, i connected DumpTypeDefinition() to this project , and now have more information

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s