1. Home
  2. Computing & Technology
  3. Delphi Programming
Zarko Gajic
Zarko's Delphi Programming Blog

By Zarko Gajic, Delphi Programming Guide

How to Debug Delphi VCL Source Code (Set a Breakpoint in the VCL)

Friday February 26, 2010

in Delphi TIPS :: One way to locating errors while designing your code is to use the integrated debuger. If you set a breakpoint on a line in your source code, the line that contains the breakpoint appears in the Code editor highlighted.


What if you need to "dive" into the source code Delphi controls are made of? What if you need to step through the CreateParams method of the TCustomForm class?

Read the full article to learn How to Debug Delphi VCL Source Code (Set a Breakpoint in the VCL).

Related:

Comments
February 26, 2010 at 7:47 pm
(1) Mason Wheeler says:

You forgot one important step. After setting “Use Debug DCUs”, you must perform a full Build (Shift-F9), not a normal compile, or the debug DCUs won’t get linked.

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore Delphi Programming
About.com Special Features

You don't have to break the bank on a new computer. Find out how to save on your next PC. More

This simple questionnaire will show you which Web design software tool is right for you. More

  1. Home
  2. Computing & Technology
  3. Delphi Programming

©2010 About.com, a part of The New York Times Company.

All rights reserved.