代码之家  ›  专栏  ›  技术社区  ›  Peter Turner

如何使用Delphi7进入RTL/VCL

  •  2
  • Peter Turner  · 技术社区  · 15 年前

    When debugging using the Delphi 7 IDE how can I step into code in the program files/borland/delphi7/source folder?

    听起来像一个愚蠢的问题,但好奇的人想调试。(并不是说我认为源代码有什么问题,我只是想知道为什么第9000次我不能将TJPEGIMAGE分配给TJPEGIMAGE)。

    2 回复  |  直到 15 年前
        1
  •  7
  •   Remy Lebeau    15 年前

    Make sure you have the "Use debug dcus" option enabled in the Project Options, and the VCL source folder is in the Debugger's Source path.

    As for why you cannot assign a TJPEGImage to a TJPEGImage, that would normally only happen if you are trying to pass a TJPEGImage object across a DLL boundary without the use of runtime packages, thus the app and DLL are doing internal comparisons against different copies of the RTL, causing the is 操作员(即: ASource is TJPEGImage )在通常报告为“真”的情况下返回“假”。

        2
  •  1
  •   migajek    15 年前

    Did you added the RTL/VCL source path to debug units path? Also, my Delphi 7 asks me to provide location of source file I want to step into if it's not in the path ... so should yours do :)