我有些应用程序能跟踪到Vcl和自定义组件unit,有些又不能,到底如何才能准确进行跟踪,请高手指教!
  谢谢!

解决方案 »

  1.   

    在tools的Environment Options里面的Library 的Librarypath中加上vcl源码的路径就可以了。
    但是我调试dpk的时候却不能跟到vcl源码里,等待高人指点。
      

  2.   

    Cannot single step into VCL source code anymore
    Question:All of a sudden I cannot 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 absolute
    path to the list and D5 reconized this was the $(DELPHI)\ path and
    changed 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.