Visual Studio debugger ignores methods in partial classes
I have a partial class split into 5 files of different names. I need to step into the code of one of the methods, but the debugger always seems to jump over them. Every other line works fine (including the constructor for that class), but the methods in the class are all skipped. I tried:
- Cleaning solution
- Deleting files
- Deleting folders
- Restarting Visual Studio
- Rebooting my machine.
- All of the above again, several times.
I can only guess that the debugger has problems with partial classes in general. Is there any workaround for this other than moving all the code into one file?
source to share