views:

48

answers:

0

I am debugging a .NET app in Visual Studio 2010 RC using disassembly view. The code is optimized and JIT-ed. At a particular point, I need to change ZR CPU flag so that JNE instruction would take a different path. For some strange reason, the registers window in VS is readonly and does not let me change register values, nor can I use "set next instruction" command to force the jumping myself. Any ideas?

P.S. Are there alternatives, like a command for the "command window"? I doubt I could do it from the "Immediate window" since i don't think .net allows register access.