The ".thread" command is used to change the thread context in Windows kernel debugging. MSDN
But I encountered the below situation:
- Execute the following two commands consecutively. The first command set thread context to ffffc08213599040, but it Actually still ffffc08229313080.
0: kd> .thread ffffc082`13599040
Implicit thread is now ffffc082`13599040
0: kd> .thread
Implicit thread is now ffffc082`29313080
2.Execute the following two commands consecutively. I want to change the rip of the thread ffffc08213599040, But command "r rip=xxx" failed.
0: kd> .thread ffffc082`13599040
Implicit thread is now ffffc082`13599040
0: kd> r rip = fffff803`3de6341d
Last set context:
^ Bad register error in 'r rip = fffff803`3de6341d'