As I saw here, I'm able to use both of this windows to create objects and use methods from my own code. But while debugging (paused or breakpoint-stopped) I was able to access the positions of an array at the current context through the Immediate window, like this: If I have a debugging session paused right after this code:
byte[] R = new byte[100];
for (int i = 0; i < 100; i++)
{
R[i] = (byte)1;
}
I am able to access, say, R[37] through Immediate window and see it's value, but I'm not able to code a loop in Immediate window to verify if all values are equal (just a silly example), actually, I'm not able to code at all at this (as this is not it's purpose).
From the other side, I am able to code in C# Interactive, but cannot interact with the current debugging session variables.
Well, I'm afraid that the answer is negative, but is there any way to archive this (code with current debugging session variables) in VS2012?