// you’re reading...

Development

Debugging Initialization and Finalization sections

initfinaldebug_large

 

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.

 

Download

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)

Related Posts

    A TDictionary explanation
    In the Development category
    By Malcolm
    Generic Interfaces in Delphi
    In the Development category
    By Malcolm
    IOUtils.pas – OO File System Access in Delphi 2010
    IOUtils.pas – OO File System Access in Delphi 2010
    In the Development category
    By Malcolm
    More Attributes in Delphi 2010
    More Attributes in Delphi 2010
    In the Development category
    By Malcolm
    Delphiday.com – Daily deals on Delphi tools and components
    In the Asides category
    By Malcolm

Discussion

7 comments for “Debugging Initialization and Finalization sections”

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

    Posted by Sean B. Durkin | July 19, 2010, 2:35 pm
  2. Hi Mal,

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

    Cheers,
    Colin

    Posted by Colin Johnsun | July 19, 2010, 4:06 pm
  3. 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.

    Posted by Malcolm | July 19, 2010, 4:13 pm
  4. Colin: Oh no, it doesn’t. Hmmm, let me see what’s going on.

    Posted by Malcolm | July 19, 2010, 4:25 pm
  5. 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! :D

    Oliver

    Posted by Oliver Giesen | July 19, 2010, 6:34 pm
  6. [...] Posted by jpluimers on 2010/07/21 Long time Delphi user Malcom Groves just posted an interesting video on via:

    Posted by Delphi: great post by Malcolm Groves about Debugging Initialization and Finalization sections « The Wiert Corner – Jeroen Pluimers’ irregular stream of Wiert stuff | July 21, 2010, 2:03 pm
  7. 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 :-)

    Posted by Malcolm | July 22, 2010, 4:22 pm

Post a comment

Subscribe to RSS Follow on Twitter Connect on LinkedIn Connect on Facebook Subscribe on YouTube Subscribe on iTunes

Recent Tweets

This is a personal website. As such, any opinions expressed are my own, and do not necessarily represent the views of my employer, Embarcadero Technologies.