I’m unable to place breakpoints or step into any code inside a method when debugging a Hololens project on device .
I can place breakpoint at the start of each method. These are hit as expected.
However, any breakpoints I place within a method are removed once I run (see gif). Furthermore, I cannot step into any method, the debugger skips the method contents, and breaks at the start of the next called method.
Is there anything I’m missing to get this to work?
Notes about my setup:
Unity version 2017.2.1f1
Visual Studios version 15.5.2
When building from Unity, I have checked the C# Projects & Development mode in Build Settings.
I have unchecked “Enable Just Mode Code” in VS debugging options.
I have set the debugger type to Mixed (Managed and Native)