1

I am using ElementHost Control to embed a custom WPF control that I have created into a windows from application. Earlier I was able to debug the WPF control by pressing the F11 button when the control was created:

MyControl.UserControl1 obj = new MyControl.UserControl1(_Action, true);
elementHost1.Child = obj;
elementHost1.Dock = DockStyle.Fill;

But now I am trying to debug the same code after migrating from XP to Windows 8 machine and I am not able to enter into the debug mode for WPF control. Can any one please help me with this. Thanks

Anshuman Jasrotia
  • 3,135
  • 8
  • 48
  • 81
  • Check this [link](http://stackoverflow.com/questions/4873225/visual-studio-2010-step-into-property-functionf11-doesnt-work-as-expected) – Nadeem_MK Sep 26 '13 at 07:43

1 Answers1

2

On debug, right click on the line and uncheck "Step over properties and operators" Step over property

Daniel
  • 9,312
  • 3
  • 48
  • 48