gpt4 book ai didi

全局标志 (gflags) 的注册表项

转载 作者:行者123 更新时间:2023-12-04 14:00:05 31 4
gpt4 key购买 nike

我目前在尝试使用调试工具 GFlags 为所谓的“图像”删除标志“通过 DLL 启用堆标记”时出错:我正在调试的应用程序。

我收到“ 无法保存注册表错误 5 ”。但是,其他“启用堆...”标志没有问题,它们可以打开和关闭。我试图以管理员身份启动该实用程序,但这并没有改变任何东西。

所以我试图弄清楚我应该手动更改哪些注册表设置以将事情恢复正常,但是我似乎没有找到关于 Windows 全局标志的正确注册表项。

或者我可以简单地删除与我的应用程序相关的任何全局标志。

任何的想法 ?

我试图在注册表中找到 FLG_HEAP_PAGE_ALLOCS,它是更通用的标志“启用页堆”的符号名称,如 here在 MSDN 中。但没有成功。

最佳答案

删除键:

  • [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\RADAR\HeapLeakDetection\DiagnosedApplications\MyApplication.exe]
  • [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\MyApplication.exe]

  • 请注意,它还将删除使用/为应用程序验证程序所做的调试配置。
    其次,也许它是相关的,但在 MSDN regarding gflags :

    "Note: Incorrect use of this tool can degrade system performance or prevent Windows from starting, requiring you to reinstall Windows.

    Important: Pool tagging is permanently enabled on Windows Server 2003 and later versions of Windows, including Windows Vista. On these systems, the Enable pool tagging check box on the Global Flags dialog box is dimmed and commands to enable or disable pool tagging fail."

    关于全局标志 (gflags) 的注册表项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25533827/

    31 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com