From: http://bbs.ee.ntu.edu.tw/boards/programming/10/2/13.html
◇ Delphi modified VCL Source Code needs
Sender: Tomm.bbs@csie.nctu (Gefi), News District: Programming
Title: Delphi Modify VCL Source Code needs
Sending station: Jiaotong University Working Phoenix Information Station (Tue Aug 29 15:51:19 1995)
Transmission station: cis_nctu! News.cis.nctu! News.csie.nctu! Phoenix
Delphi Modify VCL Source Code needs
(0) Backup wants to modify some of the Source Code to prevent in case.
(1) Click Menu File | New Project to create a new Project
(2) Click Menu File | Add file .. Enteriang VCL Sources Code
(3) Set Menu Options | Project The following switches
(Otherwise your VCL .dcu size is likely to be more than the original double ...)
Project Options - Compiler
Dubugging group
(1) Debug Information Turn Off
(2) Local Symbols Turn OFF
(3) Symbol Info Turn OFF
Project Options - Linker
Exe and DLL OPTIONS Group
(1) Optimize for size and load time Turn ON
(2) include TDW Debug Info Turn OFF
(4) Check if the VCL Unit has been modified in the Unit.
(5) Whether the Source code Unit to modify again with Project Manager is already
Join Project. The Unit after adding Project will be prioritized, not reuse
The DCU of the original / delphi / lib.
(6) After the modification, click Compile | Build All
(7) After the completion is correct, Close Project will move the new DCU from / delphi / source / vcl to
/ Delphi / LIB
(8) Click Option | Rebuild Library Regeneration /Delphi/bin/complib.dcl.
(9) Write a test program.
from: http://www.delphifaq.com/fq/q3056.shtml Can not single step into VCL source code anymoreQuestion: All of a sudden I can not single step into the VCL source code anymore The path to $ (DELPHI) / Source. / Vcl is in the Enviroment Options Direcotry and I also tried to add it to the Project Options> Debug Source Path but it did not help.It appears that $ (DELPHI) / is correct since I added a absolutepath to the list and D5 reconized this was the $ (DELPHI) / path andchanged it back to $ (DELPHI) / Source / Vcl automaticlly What happened Answer:.? Here are two possible reasons for your situation: 1) You may accidentally have unchecked 'Use Debug DCUs' in .. Project | Options Compiler 2) Perhaps you have switched 'Build with run-time packages' on from: http://www.delphifaq.com/fq/q3061.shtml Preventing the Debugger from stepping into VCL sourceDoes your debugger step into The VCL Source Code and You Want to Disable this? orre you in the oppositive site, you need to step ? De Here are some pointers (for Delphi 5) what you should look at.The following steps will stop the debugger from stepping into the VCL: 1) Go to menu 'Project | Options' and there click on tab 'Compiler' Then. uncheck the 'Use Debug DCUs' option under 'Debugging'. This is a project-specific setting.2) Also check to be sure your Library path just points to LIB, not LIB / DEBUG. This is an environment option and will affect all Projects.3) Remove the VCL Source Directories from the search path. this is also a project specific setting. Choose Under 'Project | Options' The Tab 'Directories / Conditionals'