Debugging Initialization and Finalization sections

the_bug_zapper_by_erato_artemisSTOCK

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:

  1. VersionInsight in RAD Studio XE – Part 1
  2. VersionInsight in RAD Studio XE – Part 2 : Checkout from a Repository
  3. VersionInsight in RAD Studio XE – Part 3 : Rename Support
  4. VersionInsight in RAD Studio XE – Part 4 : Blame/Annotations
  5. IOUtils.pas – OO File System Access in Delphi 2010

Post comment as twitter logo facebook logo
Sort: Newest | Oldest

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

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

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

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.

Hi Mal, Thanks for the videos but unfortunately the link to the quicktime video is dead. Cheers, Colin

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

Subtracting from the sum of human knowledge.

© 2012 Malcolm Groves

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.