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 ;).

Unknown's avatar

Author: Rodrigo

Just another Delphi guy.

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

  1. Dorin Duminica's avatar

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

  2. Felix colibri's avatar

    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 !

    • Rodrigo's avatar

      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.

    • Rodrigo's avatar

      Felix the links was updated to dropbox.

  3. ChAr's avatar

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

    ChAr

  4. Mohammed Nasman's avatar

    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. Neftalí -Germán Estévez-'s avatar

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

    Un saludo.

  6. mmc's avatar

    Download links are broken.

  7. Felix colibri's avatar

    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. Nick Hodges's avatar

    Great stuff. Very nicely done.

  9. dima's avatar

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

Leave a comment