VS 2010 - Cannot debug/step into private accessor during unit testing
-
Can we no longer step into private accessor methods in Visual Studio 2010 during unit testing? The debugger just skips over the method instead of stepping into the private method via MyClass_Accessor class. I understand there are some issues with private methods in vs 2010's test framework, but is this problem I am having actually one of the issues? Thanks in advance.
-
Can we no longer step into private accessor methods in Visual Studio 2010 during unit testing? The debugger just skips over the method instead of stepping into the private method via MyClass_Accessor class. I understand there are some issues with private methods in vs 2010's test framework, but is this problem I am having actually one of the issues? Thanks in advance.
Oddly enough, it began working. [edit: Now it stopped working. After adding a unti test, I can no longer step into the source code from the accessor object]. Very annoying. [FINAL Edit: solved] I came across a similar issue here: https://connect.microsoft.com/VisualStudio/feedback/details/556756[^] Way down at the bottom of the comments: 5/11/2010 at 7:24 AM ..solution: "add a breakpoint to the code." Works everytime now.