Visual studio debugging [Unable to step. Array subscript out of range.]

I can’t debug a program through Visual Studio 2015 without this error showing up instantly when I try to use any of the step buttons: [Unable to step. Array subscript out of range.]

The program has no errors or warnings in the unity console and works just fine when I run it.

This happens no matter what the program is doing at the time, and I can see no other feedback in the debugger. Can anyone help me figure out how to debug scripts correctly in VS?

@Trigonaut
Hi,

There shouldn’t be an issue with debugging scripts, as long as the Visual Studio integration has been properly installed. Can you try with a brand new project and a simple script (the auto-generated one will do) adding just a few instructions to step through? Check that works, which would first rule out anything specific to your project.