zoukankan      html  css  js  c++  java
  • Load pdbs when you need it

        In debugging big software, if loading all pdbs in starting up it, it consumes too long time. But it's really good method because we can debug into the code section that really does the work in unfamilar area (usually with millions of polymorphism usage). If possible, we want good startup speed and later decide to load all pdbs to see the world or choose to load the ones as needed. 
        How to do? Solution is to move pdbs into a custimized directory and only leave those you use frequently in default pdb directory. You can write things like below into a bat file:
    md X:\lib\debug\pdbs
    move X:\lib\debug\*.pdb X:\lib\debug\pdbs

    rem - edit the follwing lines to restore the PDBs for modules you debug in frequently
    rem move X:\lib\debug\pdbs\*.pdb X:\lib\debug

    And do corresponding change in VS Tools --> options.

    Note here, keep on learning.

  • 相关阅读:
    储备学习drf的基本认知
    VUE基础一
    Django之outh模块
    MySQL模糊查询效率
    MySQL中位数计算方法
    1292
    正则表达式【UltraEdit / MySQL / 数据清洗】
    grep awk sed echo
    mysqldump备份工具使用
    shell的MySQL命令
  • 原文地址:https://www.cnblogs.com/taoxu0903/p/1018109.html
Copyright © 2011-2022 走看看