Go to Project Properties and under Build Make sure that the “Optimize Code” checkbox is unchecked.
Also, set the “Debug Info” dropdown to “Full” in the Advanced Options (Under Build tab).
More Related Contents:
- Why can I not edit a method that contains an anonymous method in the debugger?
- Writing to output window of Visual Studio
- F5 or Start Debugging Button is Greyed Out for Winform application?
- Stop Visual Studio from breaking on exception in Tasks
- How to cut up a string from an input file with Regex or String Split, C#?
- The type or namespace name could not be found [duplicate]
- Why does .NET add an additional slash to the already existent slashes in a path?
- #if DEBUG vs. Conditional(“DEBUG”)
- Unable to load DLL ‘SQLite.Interop.dll’
- two different DLL with same namespace
- Dependent DLL is not getting copied to the build output folder in Visual Studio
- What is a thread exit code?
- How can I see what my reactive extensions query is doing?
- Setting the datasource for a Local Report – .NET & Report Viewer
- Attach Debugger to IIS instance
- Can you use optional parameters in code targeting .NET 3.5?
- LOH fragmentation – 2015 update
- Does not contain a static ‘main’ method suitable for an entry point
- Visual Studio 2015 RTM – Debugging not working
- How to capture mouse wheel on panel?
- streamWriter rewrite the file or append to the file
- Writing custom code for PowerPoint using leap motion?
- WPF App Doesn’t Shut Down When Closing Main Window
- How to get current working directory path c#?
- Visual Studio debugger error: Unable to start program Specified file cannot be found
- More Than Two main Method in Visual Studio application?
- Ways to access a 32bit DLL from a 64bit exe
- Programs randomly getting System.AccessViolationException
- Click an HTML link inside a WebBrowser Control
- Prevent Winforms Designer from Generating Property Values for Inherited Controls