Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS2015 The breakpoint will not currently be hit. No symbols have been loaded for this document

I have solution with 3 projects. Project one - Library. Project two - Service (asmx). Project three - Test. In my service I have two config transform: PRODUCTION and TEST. They are equals, but name of databases is different. My solution:

Solution

If I Debug Test with PRODUCTION.config then all right - my breakpoints is active. If I Debug Test with TEST.config then bad. I get this:

The breakpoint will not currently be hit

What could be the problem? Sorry for my English.

like image 802
Denis Bubnov Avatar asked Apr 06 '16 08:04

Denis Bubnov


People also ask

Can I hit the breakpoint in vs 2015?

VS2015 The breakpoint will not currently be hit. No symbols have been loaded for this document Bookmark this question. Show activity on this post. I have solution with 3 projects. Project one - Library.

Why are my breakpoints not showing up in Visual Studio?

If the breakpoint is in a library that is only used in one function in your main assembly, the symbols will not be loaded (and it will show the breakpoint as not being hit) until that function is called. c#.net visual-studio debugging breakpoints

Will the breakpoint be hit in a Silverlight application?

The breakpoint will not currently be hit. No symbols have been loaded for this document in a Silverlight application Visual Studio 2010 RC, W7 x64, started a new project type of Silverlight application. Hosting the Silverlight application in a ASP.NET Web Application Project. Silverlight Version 3.0.

Why is my breakpoint not being hit?

If the breakpoint is in a library that is only used in one function in your main assembly, the symbols will not be loaded (and it will show the breakpoint as not being hit) until that function is called. Show activity on this post. Start debugging, as soon as you've arrived at a breakpoint or used Debug > Break All, use Debug > Windows > Modules.


1 Answers

I had similar issue and I did the following simply:

Go to Debug => Options => General => Remove the check mark for "Enable Just My Code"

Uncheck this one.This worked for me.

like image 127
Sudhakar MuthuKrishnan Avatar answered Oct 11 '22 15:10

Sudhakar MuthuKrishnan