Debugging Initialization and Finalization sections

There was a discussion on the ADUG list recently about Initialization sections. During the discussion I mentioned a technique for stepping through all the Initialization and Finalization sections in your project.

Afterward, I got a few emails from people saying they had not heard of it before, so I thought Iโ€™d do up a short video to show how it works.



If the YouTube video above does not show up, hereโ€™s a link.


mp4 – 16.8mb (Quicktime) Seems to be some weirdness with linking to mp4 files. Will reinstate when Iโ€™ve figured it out.

m4v โ€“ 15.4mb (iPhone, etc)


  • Nice presentation. Imho, more captivating than reading a blog.

  • Hi Mal,

    Thanks for the videos but unfortunately the link to the quicktime video is dead.


  • Thanks Sean, like I said, was way quicker to do as well. Will do more.

    Colin: Weird. It seems to work if you right-click and do a “save as”. Not sure. will have to do some research.

  • Colin: Oh no, it doesn’t. Hmmm, let me see what’s going on.

  • Very informative and well presented.

    …but, seriously? A ~10 minute video to effectively tell us to simply put breakpoints on the begin and end. in the dpr-file?!
    Isn’t that a bit overkill? ๐Ÿ˜‰

    Cheers! ๐Ÿ˜€


  • […] Posted by jpluimers on 2010/07/21 Long time Delphi user Malcom Groves just posted an interesting video on via:

  • Oliver : Glad you liked it, but overkill? This is the edited version! :-p

    Yes, I know I ramble a bit when I haven’t really planned out the “agenda”. This one was done on the spur of the moment, but it seems to have been well received so the future ones I do I’ll try and be a little more succinct ๐Ÿ™‚

  • Very informative and well presented.

    Bu you do not need to place a breakpoint on the “begin” ling .. You can just start the compiler with F7.

    Jens Borrisholt

Join the Discussion

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">