Malcolm has been writing code for nearly 30 years, on everything from IBM mainframes to embedded devices. Someday he hopes to get really good at it.


Email Newsletter

the_bug_zapper_by_erato_artemisSTOCK

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.

 

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)

Malcolm Groves

Malcolm has been writing code for nearly 30 years, on everything from IBM mainframes to embedded devices. Someday he hopes to get really good at it.

7 Comments » for Debugging Initialization and Finalization sections
  1. Nice presentation. Imho, more captivating than reading a blog.

  2. Colin Johnsun says:

    Hi Mal,

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

    Cheers,
    Colin

  3. Malcolm says:

    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.

  4. Malcolm says:

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

  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

  6. Malcolm says:

    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 :-)

  7. Jens Borrisholt says:

    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

1 Pings/Trackbacks for "Debugging Initialization and Finalization sections"

Leave a Reply