Native code step through goes out of sync
-
When in a native c++ class, in a /clr project, stepping through is getting out of sync of where it should be. i.e. 1 if(fileSpec.GetLength()==0) 2 { 3 printf("You must specify a filename!\n"); 4 return 1; 5 } I put a breakpoint on line 1. Then F11 to step into. The if statement returns false and so it should step to 5 or beyond. Instead it stops on 4. Any ideas why?
-
When in a native c++ class, in a /clr project, stepping through is getting out of sync of where it should be. i.e. 1 if(fileSpec.GetLength()==0) 2 { 3 printf("You must specify a filename!\n"); 4 return 1; 5 } I put a breakpoint on line 1. Then F11 to step into. The if statement returns false and so it should step to 5 or beyond. Instead it stops on 4. Any ideas why?
Hello, Have you tried deleting all
.ncb
and.suo
garbage, and rebuilding all?Regards, BB http://spin.bartoszbien.com