• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            隨筆 - 64, 文章 - 11, 評(píng)論 - 12, 引用 - 0
            數(shù)據(jù)加載中……

            Debuging Tool Set(7 ):線程和進(jìn)程

            系統(tǒng)狀態(tài)
            The double vertical bar (||) command prints status for the specified system or for all systems that you are currently debugging.|| [ |* | .| # |系統(tǒng)號(hào)]

            The ||s command sets or displays the current system number.

            ||System s 

            在WINDBG 等調(diào)試器中,進(jìn)程和線程的語(yǔ)法分為內(nèi)核模式和用戶模式兩種。我先來(lái)總結(jié)一下用戶態(tài)模式
            進(jìn)程相關(guān)
            The pipe (|) command displays status for the specified process, or for all processes that you are currently debugging.| [ |*|.|#|進(jìn)程號(hào)]

            The |s command sets or displays the current process number.
            |Process s 

            線程相關(guān)
            ~ [* | .|#|thread NO.]  顯示線程
            The ~e command executes one or more commands for a specific thread or for all threads in the target process.
            ~Thread e commandstring
            在指定的線程上執(zhí)行指定的命令這個(gè)語(yǔ)法,在有時(shí)我們會(huì)省略e,如顯示2線程的堆棧。~2 K

            凍結(jié)和解凍結(jié)線程。
            The ~f command freezes the given thread, causing it to stop and wait until it is unfrozen.
            ~Thread f 
            The ~u command unfreezes the specified thread.
            ~Thread u

            掛起和恢復(fù)線程的執(zhí)行
            The ~n command suspends execution of the specified thread.

            ~Thread n 

            The ~m command resumes execution of the specified thread.

            ~Thread m


            設(shè)置當(dāng)前線程
            The ~s command sets or displays the current thread number.
            ~Thread s
            這個(gè)命令在內(nèi)核模式中表示的是設(shè)置當(dāng)前的處理器。

            有了上面的調(diào)試命令,只要我們善加利用,就可以控制調(diào)試目標(biāo)的運(yùn)行,進(jìn)而達(dá)到排錯(cuò)查錯(cuò)的目的。


             


             

             

            posted on 2011-08-09 09:54 Robertxiao 閱讀(155) 評(píng)論(0)  編輯 收藏 引用 所屬分類(lèi): Debug

            久久91亚洲人成电影网站| 国内精品久久久久久久久| 精品久久久久久久| 久久国产乱子伦精品免费午夜| 色8激情欧美成人久久综合电| 久久久久国产精品嫩草影院| 99久久人妻无码精品系列蜜桃| 国产精品美女久久久久AV福利 | 日本道色综合久久影院| 久久精品国产99国产精品| 亚洲精品乱码久久久久久蜜桃不卡 | 国产精品久久久久久福利69堂| 国产一区二区精品久久岳| 久久WWW免费人成一看片| 97超级碰碰碰碰久久久久| 国产A级毛片久久久精品毛片| 亚洲嫩草影院久久精品| 99久久精品免费看国产一区二区三区| 久久久久久久99精品免费观看| 四虎国产精品成人免费久久| 久久99国产综合精品免费| 亚洲一级Av无码毛片久久精品| 精品久久久久久综合日本| 思思久久好好热精品国产| 欧美精品一区二区精品久久 | 69SEX久久精品国产麻豆| 欧美麻豆久久久久久中文| 久久99热狠狠色精品一区| 国产毛片欧美毛片久久久| 久久精品一区二区影院 | 婷婷综合久久中文字幕蜜桃三电影| 观看 国产综合久久久久鬼色 欧美 亚洲 一区二区 | 精品国产乱码久久久久久人妻| 精品国产91久久久久久久a| 久久精品国产亚洲av水果派| 噜噜噜色噜噜噜久久| 国产精品99久久精品爆乳| 国产精品天天影视久久综合网| 亚洲精品乱码久久久久久蜜桃图片| 久久综合色老色| 无码8090精品久久一区|