Windows 如何从断点查看之前执行的线程?

Windows 如何从断点查看之前执行的线程?,windows,kernel,windbg,Windows,Kernel,Windbg,正如在主题中一样,如何查看在内核模式下从断点执行的线程 场景:有一个连续调用多个函数的函数。突然,正在执行函数的系统线程在中间被抢占。如何找出哪个线程抢占了它 void funcbig() { funca(); funcb(); <another thread pre-empts> funcc(); // this function executes few hundread milliseconds later } void funcbig() { funca(); func

正如在主题中一样,如何查看在内核模式下从断点执行的线程

场景:有一个连续调用多个函数的函数。突然,正在执行函数的系统线程在中间被抢占。如何找出哪个线程抢占了它

void funcbig()
{

funca();
funcb();
<another thread pre-empts>
funcc(); // this function executes few hundread milliseconds later

}
void funcbig()
{
funca();
funcb();
func();//此函数在几百毫秒后执行
}

请描述一些重现问题的步骤。请尝试。lastevent,如果这是您的意思,则上下文切换可能不是事件。不过,我将给出一个例子,请描述一些重现问题的步骤。try.lastevent如果这是您的意思,上下文切换可能不是事件。不过,我会尝试一下