如何启用 OpenEdge 调试器?

How to enable OpenEdge debugger?

我已经使用 prodebugenable -enable-all 启用了调试器,如下所述:https://documentation.progress.com/output/ua/OpenEdge_latest/index.html#page/pdsoe%2Fenabling-debugging.html%23wwID0EBCZX

我收到成功消息

Debugging is enabled for the Progress 4GL installed in ...

但我仍然得到错误

The Progress 4GL is not enabled for debugging. Run proDebugEnable from within a proenv session on Windows or from a UNIX shell to enable debugging and set the debuggerEnabled property to 1 for any services that you want to debug. (11724)

prodebugenable.bat 运行 exe 文件 _debugEnable.exe。这个文件有什么作用?

为什么我收到成功消息但调试器未启用?

我的版本:OpenEdge 10.2B

prodebugenable 所做的只是在以下位置创建一个注册表项:

HKEY_LOCAL_MACHINE\SOFTWARE\PSC\PROGRESS\ProDbgCK\<DLC>.state

或者当在 64 位 Windows 安装上使用 32 位版本时:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\PSC\PROGRESS\ProDbgCK\<DLC>.state

包含字符串值'Debugging enabled'

其中 <DLC> 是您的 Progress OpenEdge 安装路径。

ini 文件中的 DLC 路径错误。在我像在注册表中一样更正它之后,调试工作正常。