I am using C# on Visual Studio 2015, developing a simply database utility with SQLite libaray "sqlite-netFx40-binary-x64-2010-1.0.99.0" downloaded from: https://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki. The program works find, but the Visual Studio sometimes poped a browsing dialog out, prompting me to identify the source code of SQLite. But in fact I only downloaded the library. So I would like to ask: Why this happens? How to disable that?
Asked
Active
Viewed 722 times
0
-
I think [this post](http://stackoverflow.com/a/6047946/815938) answers your question. – kennyzx Mar 26 '16 at 08:46
1 Answers
0
Source code is not included in compiled assemblies. Instead the Visual Studio debugger uses other files (such as .PDB files) to find the source code. You have a situation where the debugger wants to display source code but cannot locate it on your machine. You are then prompted to locate the source by hand. This occurs e.g. when the debugger breaks on an exception in library code, or when you "step into" library code. For the latter situation you can enable the "Just My Code" debugger option. The debugger then steps over library code, even when using "step into". See https://msdn.microsoft.com/en-us/library/h5e30exc(VS.80).aspx for details.

Kai van Lopik
- 246
- 1
- 4