zoukankan      html  css  js  c++  java
  • IE下Debug BHO

    主要就是修改注册表键值使IE不创建多个进程:HKLMSoftwareMicrosoftInternet ExplorerMain - TabProcGrowth

    但需要注意的是这种情况下,vs2008下debug会变卡,不知道神马原因。

    1. 调整IE tab process growth:

    修改注册表键值:HKLMSoftwareMicrosoftInternet ExplorerMain - TabProcGrowth (string or dword)

    Tab Process Growth : Sets the rate at which IE creates New Tab processes. There are two algorithms used by Internet Explorer.

    1. Context-based: By default, the context-based algorithm is used and the curve is chosen based on the amount of physical memory on the machine. In addition, the TabProcGrowth string registry value may be manually forced to:

    • small: Maximum 5 tab processes in a logon session, requires 15 tabs to get the 3rd tab process.
    • medium: Maximum 9 tab processes in a logon session, requires 17 tabs to get the 5th tab process.
    • large: Maximum 16 tab processes in a logon session, requires 21 tabs to get the 9th tab process.

    2. The "Max-Number" algorithm: This specifies the maximum number of tab processes that may be executed for a single isolation session for a single frame process at a specific mandatory integrity level (MIC). Relative values are:

    • TabProcGrowth=0 : tabs and frames run within the same process; frames are not unified across MIC levels.
    • TabProcGrowth =1: all tabs for a given frame process run in a single tab process for a given MIC level.

    Note: On Terminal Server, the default value is the integer of 1.

    • TabProcGrowth >1: multiple tab processes will be used to execute the tabs at a given MIC level for a single frame process. In general, new processes are created until the TabProcGrowth number is met, and then tabs are load balanced across the tab processes.

    Note: that the frame process is no longer allowed to execute at low-MIC. If this is attempted, the process will exit.

    参考:

    http://blogs.msdn.com/b/askie/archive/2009/03/09/opening-a-new-tab-may-launch-a-new-process-with-internet-explorer-8-0.aspx

    2. 设置Project属性中debugging为:C:Program Files (x86)Internet Exploreriexplore.exe

  • 相关阅读:
    paip.验证码识别使用字符集的选取
    paip.提升用户体验业务SQL注入漏洞的分析与解决
    人人网验证码识别
    paip.路由器拨号上网密码找回.txt
    PAIP.ASP技术手册
    PAIP.java程序调试的注意点及流程总结
    paip.XXListener is already configured监听器已经被配置的解决
    paip.目录文件列表排序算法
    paip.C#.net TIMER不起作用在用户控件中
    paip.按键精灵调用其它程序及DLL以及EXE命令行的方法
  • 原文地址:https://www.cnblogs.com/dlbrant/p/3139998.html
Copyright © 2011-2022 走看看