Visual Studio not automatically update corelDraw during debugging

Hi everyone,

I am developing a "CorelDraw Control Addon" in visual studio 2015 for CorelDraw 2017.

I am facing an issue of automatically refreshing Coreldraw while stepping through code when a shape updates like color change. For understanding, I have written sample code as:

38 ShapeRange sr = corelApp.ActiveSelection.Shapes.All();
40 int counter = 1;
41 sr[counter].Fill.UniformColor.RGBAssign(255, 0, 0);
42 counter++;
43 sr[counter].Fill.UniformColor.RGBAssign(0, 255, 0);
44 counter++;
45 sr[counter].Fill.UniformColor.RGBAssign(0, 0, 255);
46 counter++;
47 System.Windows.Forms.MessageBox.Show("Done.");

I have three artistic texts selected coreldraw.;

I set the breakpoint at line 41 and step through code by pressing F10. CorelDraw is not updated until it executes messagebox statement at line 47.

i need that CorelDraw to shoe updated color of the text as it executes the statement to change color.  I did not have issue in VBA code debugging.

Thanks and  Regards.