Delphi 7的“运行”菜单中缺少“附加到进程”(“Attach to process” missing from Delphi 7's Run menu)

编程入门 行业动态 更新时间:2024-10-27 06:21:37
Delphi 7的“运行”菜单中缺少“附加到进程”(“Attach to process” missing from Delphi 7's Run menu)

我必须复活一个古老的Delphi 7应用程序,这意味着我必须使用D7 IDE。 不幸的是,将项目升级到更新版本的Delphi是不可取的。

我的新D7安装的Run菜单缺少Attach to Process 。 除了缺少的菜单项,调试器工作正常(我可以调试使用Run启动的普通Delphi可执行文件)。

我知道D7支持这个功能(它在帮助文件中),所以有人知道我错过了什么吗? 安装是Delphi 7 Enterprise(版本7.0 Build 4.453)。

当前Run菜单项:

跑 参数... - 跳过 追踪到 跟踪下一个源代码行 运行到光标 直到返回 显示执行点 程序暂停 程序重置 - 评估/修改 添加观察 添加断点>

I have to resurrect an ancient Delphi 7 application, which means I have to use the D7 IDE. Upgrading the project to a more recent version of Delphi unfortunately isn't an option.

My new D7 installation's Run menu is missing Attach to Process. Aside from the missing menu item, the debugger works fine (I can debug normal Delphi executables started with Run).

I know D7 supported this feature (it's in the help file), so does anyone have any idea what I've missed? The installation is Delphi 7 Enterprise (Version 7.0 Build 4.453).

Current Run menuitems:

Run Parameters... - Step Over Trace Into Trace to next Source line Run to Cursor Run Until Return Show Execution Point Program Pause Program Reset - Evaluate/Modify Add Watch Add Breakpoint >

最满意答案

啊哈!

看起来发生的事情是我的D7 HKCU没有从HKLM存储库中正确初始化; 我的D7安装缺少所有IDE包,设计时包和专家。

手动将HKEY_LOCAL_MACHINE\Software\Borland\Delphi\7.0值合并到HKEY_CURRENT_USER\Software\Borland\Delphi\7.0 ,D7现在看起来更加熟悉了。

aha!

Looks like what happened is my D7 HKCU wasn't initialised correctly from the HKLM repository; my D7 installation was missing all IDE Packages, Design Time Packages and Experts.

After manually merging values from HKEY_LOCAL_MACHINE\Software\Borland\Delphi\7.0 to HKEY_CURRENT_USER\Software\Borland\Delphi\7.0, D7 looks much more familiar now.

更多推荐

本文发布于:2023-08-07 10:19:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1463672.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:进程   菜单中   Attach   Delphi   Run

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!