Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The Application is in break mode

somehow I got to make VS2015 show this screen when I pause the application:

enter image description here

I clicked all of the 3 offered solutions, but none of them would get me back to what I'm used it.

My code is nothing special, I just show a form as .ShowDialog.

The error that occurs right before this is

 An unhandled exception of type 'System.IndexOutOfRangeException' occurred in System.Data.SQLite.dll

but I'm unable to spot it

Can anybody help?

The first error that is thrown is this:

enter image description here

like image 615
tmighty Avatar asked Jan 06 '23 16:01

tmighty


2 Answers

After activating and de-activating "Enable Just My Code" under Options, the IDE halts on errors again, and I can see where it fails. The strange message is gone. But now I'm getting a System.Data.Sqlite error in a line where no sqlite is being used. So I guess something is just majorly messed up and a bug.

like image 86
tmighty Avatar answered Jan 14 '23 18:01

tmighty


Try this in your visual studio, i have faced same error and below option worked for me.

Under Tools --> Options --> Debugging --> CHECK - Use Managed Compatibility Mode

like image 45
Raship Saiyed Avatar answered Jan 14 '23 17:01

Raship Saiyed