Mega Code Archive

 
Categories / Delphi / Examples
 

Tracing through vcl source code

By default, you can't trace into VCL units while debugging your application. However, if you have the VCL source files, you can force Delphi to treat them as part of your project, and enable the integrated debugger to trace execution into these units too. To do so, you'll need to add the path to the VCL source code to your project's current search path and then rebuild the entire project. Since you will step in VCL source code a lot, it would be a good idea to set those files to "read-only".. using your file manager or the tool ATTRIB: attrib +r \delphi\source\vcl\*.* /s