zoukankan      html  css  js  c++  java
  • windbg .cmdtree

    [CMD.txt] 

    windbg ANSI Command Tree 1.0

    title {"Common Commands"}

    body

    {"Common Commands"}

     {"Information"}

      {"Time of dump"} {".time"}

      {"Process being debugged"} {"|"}

      {"Dump Location"} {"||"}

      {"Create server on port 9999"} {".server tcp:port=9999"}

      {"Show remote connections"} {".clients"}

      {"Process Environment Block"} {"!peb"}

     {"Logging"}

      {"Open Log"} {".logopen /t /u /d"}

      {"Close Log"} {".logclose"}

     {"Modules"}

      {"All Modules"} {"lm D sm"}

      {"Loaded Modules"} {"lmo D sm"}

      {"Loaded Modules (verbose)"} {"lmvo D sm"}

      {"Modules w/o symbols"} {"lme D sm"}

     {"Stacks"}

      {"Set frame length to 2000"} {".kframes 2000"}

      {"Dump current stack w/ DML"} {"kpM 1000"}

      {"Dump stacks without private info"} {"knL 1000"}

      {"Dump stacks with all parameters"} {"kPn 1000"}

      {"Dump stacks (distance from last frame)"} {"kf 1000"}

      {"Dump stacks with Frame Pointer Omission"} {"kvn 1000"}

      {"Dump all stack"} {"~*kbn 1000"}

      {"Dump unique stacks"} {"!uniqstack -pn"}

      {"Thread environment block"} {"!teb"}

      {"Move to next frame"} {".f+"}

      {"Move to previous frame"} {".f-"}

     {"Memory"}

      {"Dump heaps"} {"!heap -a"}

     {"Automated Task"}

      {"!analyze"} {"!analyze -v"}

      {"Locks"} {"!ntsdexts.locks"}

      {"CPU time for User and Kernel Mode"} {"!runaway 7"}

     {"Managed"}

      {"Load sos"} {".loadby sos mscorwks"}

      {"clrstack"} {"!clrstack"}

      {"Threads"} {"!threads"}

      {"Stack Objects"} {"!dso"}

      {"Exceptions"} {"!dae"}


    .cmdtree d:\cmds.txt 

    windbg ANSI Command Tree 1.0
    title {"SOS Commands"}
    body
    {"SOS Commands"}
    {"Load SOS and SOSEX"} {".loadby sos mscorwks;.load sosex"}
    {"Modules"}
    {"All Modules"} {"lm D sm"}
    {"Loaded Modules"} {"lmo D sm"}
    {"Loaded Modules (verbose)"} {"lmvo D sm"}
    {"Modules w/o symbols"} {"lme D sm"}
    {"Threads"}
    {"Managed Threads"} {"!threads"}
    {"Native Threads"} {"~"}
    {"Thread Pool Threads"} {"!threadpool"}
    {"Sync Block Deadlocks"} {"!dlk"}
    {"Stacks"}
    {"Current Managed Stack"} {"!clrstack"}
    {"Current Managed Stack Parameters and Locals"} {"!vars -w"}
    {"Current Native Stack"} {"kP"}
    {"Current Dump Stack"} {"!dumpstack"}
    {"All Managed Stacks"} {"~*e!clrstack"}
    {"All Managed Stack Parameters and Locals"} {"~*e!vars -w"}
    {"All Native Stacks"} {"~*kP"}
    {"All Dump Stacks"} {"!eestack"}
    {"Memory"}
    {"Stack Objects"} {"!dso"}
    {"GC Heap"} {"!eeheap -gc"}
    {"Heap Stats"} {"!dumpheap -stat"}
    {"Objects > 500 bytes"} {"!dumpheap -min 500"}
    {"Objects > 1000 bytes"} {"!dumpheap -min 1000"}
    {"Gen 2 Objects"} {"!dumpgen -stat 2"} 

  • 相关阅读:
    iOS开发多线程篇—GCD的常见用法
    iOS开发多线程篇—GCD的基本使用
    iOS开发多线程篇—线程的状态
    iOS开发多线程篇—GCD介绍
    iOS开发多线程篇—线程间的通信
    iOS开发多线程篇—线程安全
    iOS开发多线程篇—创建线程
    iOS开发多线程篇—多线程简单介绍
    iOS开发拓展篇-XMPP简单介绍
    iOS开发拓展篇—应用之间的跳转和数据传
  • 原文地址:https://www.cnblogs.com/ahuo/p/2203815.html
Copyright © 2011-2022 走看看