Last post Dec 02, 2015 11:41 AM by maherjendoubi
Nov 16, 2015 01:29 PM|FranklinS|LINK
I have an aspnet 5 project using EF7 and I'm trying to get it to display some debug logs (specifically, the queries generated by EF7). My database layer is in a seperate class library project but when I start the project (in debug mode) in IISExpress, nothing
appears in the debug output except for lines like the following:
Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled -- I get this message for all of the framework libraries, which I think is expected.
Cannot find or open the PDB file -- I get this for both the start up project and database layer library I've referenced.
Any help would be appreciated.
Dec 02, 2015 11:30 AM|GregH44|LINK
Some weeks ago, I had a similar problem.
After some research, in Visual Studio 2015, when I had a "const" keyword in my class, I didn't have debugging informations.
Maybe you have the same problem.
Dec 02, 2015 11:41 AM|maherjendoubi|LINK
Please go to Visual Studio main menu, choose Tools ->Options->Debugging, then uncheck "Enable Just My Code".
Restart your VS.
Hope this helps!