I am debugging a .NET application in Visual Studio 2010 RC using disassembly. The code is optimized and JIT-ed. At some point, I need to change the CPU ZR flag so that the JNE team uses a different path. For some strange reason, the register window in Visual Studio is read-only and does not allow me to change register values, nor can I use the "set next instruction" command to force myself to jump. Any ideas?
PS: Are there alternatives, for example, the command for the "command window"? I doubt that I would be able to do this from the "Immediate" window, since I do not think that .NET allows access to the register.
Yurik
source share