1: kd> bp MF!CMPMFTNodeInfo::ProcessInput1: kd> bp MF!CASFBytewiseMediaSource::DropSamples1: kd> bl 2 e 6af87e8e 0001 (0001) MF!CMPMFTNodeInfo::ProcessInput 3 e 6b09cc41 0001 (0001) MF!CASFBytewiseMediaSource::DropSamples
首先我下了两个断点,bl看了下似乎都成功了,但是断点3(DropSamples)不会停下来.
不过我也不是很肯定断点3是不是真的被执行到了,但是我认为应该会被执行的。
然后我发现断点2和3有一些区别,这个好像是导致断点3其实并没有被成功设置。发出来求助一下。
断点3这个地址6b09cc41在我bp的时候其实还根本不在内存里面,所以cc也无法被写进去。
实验如下
1: kd> u MF!CASFBytewiseMediaSource::DropSamplesMF!CASFBytewiseMediaSource::DropSamples:6b09cc41 ?? ??? ^ Memory access error in 'u MF!CASFBytewiseMediaSource::DropSamples'1: kd> dd MF!CASFBytewiseMediaSource::DropSamples6b09cc41 ???????? ???????? ???????? ????????6b09cc51 ???????? ???????? ???????? ????????6b09cc61 ???????? ???????? ???????? ????????6b09cc71 ???????? ???????? ???????? ????????6b09cc81 ???????? ???????? ???????? ????????6b09cc91 ???????? ???????? ???????? ????????6b09cca1 ???????? ???????? ???????? ????????6b09ccb1 ???????? ???????? ???????? ????????
1: kd> !pte 6b09cc41 VA 6b09cc41PDE at 00000000C0601AC0 PTE at 00000000C03584E0contains 000000001121C867 contains 0000000000000000pfn 1121c ---DA--UWEV
1: kd> !pte 6af87e8e VA 6af87e8ePDE at 00000000C0601AB8 PTE at 00000000C0357C38contains 000000002709B867 contains 00000000319DB025pfn 2709b ---DA--UWEV pfn 319db ----A--UREV
如果我的分析是对的,那么怎么样才能成功的设置这样的断点呢?