How to change value of register when doing live debugging with Windbg?

Windbg has not only registers reading functionality but it can also modify registers when doing live debugging..

Its really useful sometimes to modify the register values and take different path to check for particular code branch..

You can modify the register value like this..

0:000>r @eax=0x80040005

Above command will modify value of register eax and set it to 0x80040005.

Stay tuned.. Wave

Comments (0)

Skip to main content