关于Delphi对Vcl和自定义组件的跟踪!郁闷中.....

eastxiang 2005-03-29 09:31:03
我有些应用程序能跟踪到Vcl和自定义组件unit,有些又不能,到底如何才能准确进行跟踪,请高手指教!
谢谢!
...全文
75 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
aiirii 2005-03-29
  • 打赏
  • 举报
回复
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.
boboshazhi 2005-03-29
  • 打赏
  • 举报
回复
楼上说的对呀,只有加上源码财能跟踪
blackdell 2005-03-29
  • 打赏
  • 举报
回复
在tools的Environment Options里面的Library 的Librarypath中加上vcl源码的路径就可以了。
但是我调试dpk的时候却不能跟到vcl源码里,等待高人指点。
eastxiang 2005-03-29
  • 打赏
  • 举报
回复
up

5,392

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 开发及应用
社区管理员
  • VCL组件开发及应用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧