Delphi 2007调试器消失了 [英] Delphi 2007 Debugger Gone

查看:184
本文介绍了Delphi 2007调试器消失了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

场景:


  • Delphi进行了非正常关机。

  • 重新启动后,我收到消息找不到xxxxx.bpl-您下次是否要加载? (注意:不是确切的消息语言;而是关闭)。

  • 不幸的是,我说不-下次启动时不要加载,也没有记下特定的bpl文件名。我确实记得它们在CodeGear目录中。

  • Delphi可以加载和编译,但没有调试可用(基本上禁用了 Run 菜单下的所有选项)。

  • 工具->选项->调试器选项下,没有 CodeGear调试器

  • Delphi did a non-normal shutdown.
  • When I restarted I got the messages "Could not find xxxxx.bpl - Would you like to load this next time?" (NOTE: not exact language of message; but close). It did this on a couple files.
  • Unfortunately I said "No - Don't Load on next Startup" and also did not note the specific bpl file names. I do recall they were in the CodeGear directory. This was stupid/lazy on my part.
  • Delphi loads and compiles but there is no Debugging available (basically all the options under the Run menu are disabled).
  • Under Tools->Options->Debugger Options there is no CodeGear Debuggers.

所以基本上我完全禁用了调试。有人知道我怎么找回它吗?

So basically I have totally disabled the debugging. Anyone know how I can get it back?

推荐答案

首先检查您是否没有销毁Windows中的关键元素 PATH 环境变量。即使注册表设置正确,这也将阻止加载IDE的核心元素。

First check that you did not destroy critical elements in the Windows PATH environment variable. That will prevent core elements of the IDE from loading, even if the registry settings are correct.

下一步,尝试将其另存为bdsfix.reg,然后双击运行它它:

Next, try saving this as bdsfix.reg then run it by double-clicking it:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Borland\BDS\5.0\Known IDE Packages]
"$(BDS)\\Bin\\asmview100.bpl"="Assembly Browser Package"
"$(BDS)\\Bin\\codetemplates100.bpl"="(Untitled)"
"$(BDS)\\bin\\coreproide100.bpl"="Core IDE Pro Package"
"$(BDS)\\Bin\\dbkdebugide100.bpl"="(Untitled)"
"$(BDS)\\bin\\dbkdebugproide100.bpl"="(Untitled)"
"$(BDS)\\Bin\\dotnetcoreide100.bpl"=".NET Core IDE Package"
"$(BDS)\\bin\\exceptiondiag100.bpl"="(Untitled)"
"$(BDS)\\bin\\fileexplorer100.bpl"="(Untitled)"
"$(BDS)\\bin\\historyide100.bpl"="(Untitled)"
"$(BDS)\\Bin\\htmlhelp2100.bpl"="Borland HtmlHelp Viewer"
"$(BDS)\\bin\\idefilefilters100.bpl"="IDE File filters"
"$(BDS)\\bin\\plugview100.bpl"="Pluggable Tree View Package"
"$(BDS)\\Bin\\projecttargets100.bpl"="(Untitled)"
"$(BDS)\\bin\\refactoride100.bpl"="Borland Core Refactoring Package"
"$(BDS)\\Bin\\startpageide100.bpl"="Borland Start Page IDE Package"
"$(BDS)\\bin\\todoide100.bpl"="Borland ToDo"
"$(BDS)\\Bin\\delphidotnetcore100.bpl"="(Untitled)"
"$(BDS)\\Bin\\DataExplorer100.bpl"="(Untitled)"
"$(BDS)\\bin\\htmide100.bpl"="(Untitled)"
"$(BDS)\\bin\\htmltidy100.bpl"="(Untitled)"
"$(BDS)\\bin\\mlcc100.bpl"="(Untitled)"

[HKEY_CURRENT_USER\Software\Borland\BDS\5.0\Known IDE Packages\Delphi]
"$(BDS)\\Bin\\delphicompro100.bpl"="(Untitled)"
"$(BDS)\\Bin\\delphicoreproide100.bpl"="(Untitled)"
"$(BDS)\\Bin\\delphide100.bpl"="Delphi Win32 IDE Personality"
"$(BDS)\\Bin\\delphierrorinsite100.bpl"="Delphi Error Insite Package"
"$(BDS)\\Bin\\delphipro100.bpl"="(Untitled)"
"$(BDS)\\Bin\\comcore100.bpl"="(Untitled)"
"$(BDS)\\Bin\\delphivclide100.bpl"="Delphi VCL Designer IDE Package"
"$(BDS)\\Bin\\vclmenudesigner100.bpl"="(Untitled)"
"$(BDS)\\Bin\\win32debugide100.bpl"="(Untitled)"
"$(BDS)\\Bin\\win32debugproide100.bpl"="(Untitled)"
"$(BDS)\\Bin\\iteidew32100.bpl"="(Untitled)"
"$(BDS)\\Bin\\TGIDE100.bpl"="Borland Together IDE Integration"
"$(BDS)\\Bin\\unittestide100.bpl"="(Untitled)"

第二次尝试,如果以上操作无效,请备份以下注册表项(从regedit导出到.reg文件),然后非常小心地重命名此注册表项:

Second attempt, if the above does not work is to back up (export to .reg file from regedit) the following key and then very carefully, rename this registry key:

HKEY_CURRENT_USER\软件\Borland\BDS\5.0 (特定于Delphi 2007)

HKEY_CURRENT_USER\Software\Borland\BDS\5.0 (Delphi 2007 specific)

我建议将其重命名为

HKEY_CURRENT_USER\软件\Borland\BDS\ 4.0 (使其在2007年不可见,但易于恢复)

HKEY_CURRENT_USER\Software\Borland\BDS\4.0 (Makes it invisible to 2007 but easily recoverable)

有关较新的delphi版本,请在HKEY_CURRENT_USER\Software\Codegear或HKEY_CURRENT_USER\Software\Embarcadero下查找 BDS 子文件夹,然后输入一个数字,XE为8.0或XE2为9.0。

For more recent delphi versions, look under HKEY_CURRENT_USER\Software\Codegear or HKEY_CURRENT_USER\Software\Embarcadero for a BDS sub-folder, and then a number, XE is 8.0 or XE2 is 9.0.

这会将您的本地登录帐户的delphi设置重置为出厂默认设置。
您可以在 HKEY_CURRENT_USER\软件\Borland\BDS\5.0\Known Packages的内容中添加回来,以取回其他第三方软件包。

This will reset your local login account's delphi settings to factory install defaults. You can add back in the contents of `HKEY_CURRENT_USER\Software\Borland\BDS\5.0\Known Packages' to get back your additional third party packages.

更新 OP实际上缺少文件 dbkdebugide100.bpl

Update The OP was actually missing the file dbkdebugide100.bpl

这篇关于Delphi 2007调试器消失了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆