Visual Studio 2010 Dont debug in breakPoints - visual-studio-2010

I'm working on a project and suddenly the debug ignore my breakpoints and doesn't debug,

Make sure the dropdown near on the debug toolbar shows "Debug" and not "Release".

In case you need to "hit" the break point in "RELEASE" mode go to:
Tools -> Options -> Debugging -> General and UN-CHECK "Just my code" option, in order to enable loading symbols and actualy hitting a break point ;)

Sometimes Visual Studio just gets all confused. I've found restarting Visual Studio, unsetting/resetting breakpoints, and commenting out the places where it's falling over all help to trip Visual Studio into working again.

Related

Visual Studio Express 2017 disassembly window missing

I can't find the disassembly window in Visual Studio Express 2017. In previous versions, in debug mode it was in the menu : Debug -> Windows. I checked if there is an "expert mode" in the options and I haven't found any. Does someone knows where it is?
I finally found a way. I had to reset the environment settings and set it to the Visual C++ scheme. The menu is now there, along with the Memory and Registers menu items. I think that I used the Visual Basic Scheme at first. That's probably why the menus were not there.
To display the Disassembly window
On the Debug menu, choose Windows, and click Disassembly. The
debugger must be running or in break mode.
Here is the reference: How to: Use the Disassembly Window

Visual studio debugger getting data tip

I am using a VS 2017. a "Debugger, Getting a datatip text" window keep poping up when a project being run.
There is no use for data tips in the typescript files in my project. Is it possible to prevent that window poping up specifically in typescript files?
It gets really frustrating...
Go to Tools -> Options -> Debugging -> General and uncheck the option 'Enable property evaluation and other implicit function calls'
Hope this helps you

How do you reset the ReSharper Code Inspection Settings in Visual Studio 2013?

I have R# ReSharper 8 and Visual Studio 2013. I turned off some Code Inspection Settings that I want on. Instead of trying to figure out which setting I turned off, I would like to just reset them to their default values. How is that done?
This may help you
Go to Resharper -> Manage Options...
Click the "Reset All Settings" button.
or try deleting following file
C:\Users\<user-name>\AppData\Roaming\JetBrains\ReSharper\<resharper version>\vs<vs version>\UserSettings.xml

Visual Studio IDE Issue

Can someone tell me why my Ctrl+F5 disappeared in Visual Studio 2008? Its not even in the menu. In the Debug menu, All I have is Windows, Start Debugging, Step Into, Step Over, Exceptions, and Toggle Breakpoints.
I'm using the professional edition of Visual Studio 2008 and for some reason, this morning, it just vanished.
You can re-add it: Tools -> Customize... -> Commands tab -> Select Debug -> Drag the "Start Without Debugging" command to the Debug menu and place it where you want it to be.
As for why it happened, hard to tell.
Was it the button there before becuase I just checked on mine and saw that there was no button with Ctrl+F5, but when you do the command, it works fine.
Right click on the menu bar and click Customize... from there you can add in any options that are missing.
Could this happen if the current "Startup Project" - the one in bold in the Solution Explorer - is not an executable?
(I don't have access to VS to check)

Visual Studio Editor does not underline errors anymore

My Visual Studio (2008) Editor has stopped to underline Errors (this nifty wavy red lines). I can't really tell when, but it can be related to the installation of .Net Framework 3.5 SP 1 or the MVC Beta (which I guess is unlikely). Furthermore have I installed and uninstalled both CodeRush and Resharper for evaluation purposes (decided not to keep either one of them).
Does anyone know the problem and how to restore this functionality again?
Have you checked Tools→Options...→Text Editor→C#→Advanced→Underline errors in the editor?
I usually like to reset my settings after messing around with plugins, as they tend to mess with settings: Tools→Import and Export Settings...→Reset all settings.
About possible causes.
For VS 2012 and 2013 if you have more than one instance of Visual Studio on different machines binded to one "live" account and have installed ReSharper on one of them, it disables the native IntelliSense and error underlines (to replace by it's own rules) that will be synchronised through your account to another machine without ReSharper.
Found it in Visual Studio 2019 as: Tools > Options > Text Editor > General > Show error squiggles
This is generally called Disable Squiggly or Wavy lines in Visual Studio.
How you will do in Visual studio 2013?
TOOLS -> Options... -> Text Editor -> C/C++ -> Advanced -> Disable Squiggles: True/False (Under IntelliSense) -> Press OK
I know its an old question, and with various solutions, but I have fixed it in different way. I'm working with Unity3D on my C# code using VS2017, when suddenly VS decides to stop underlining error while im typing. However, if I close the file tab and reopen, it suddenly undelines the error.
For example:
class A {
public int x;
s;
}
should obvsiouly give an error for that lonely 's' symbol. But, VS doesn't underline it until I close and reopen this file tab.
Solution:
Copied the entire Unity Project folder (which is like a regular VS Solution folder basically) and worked with the new folder, which issue was gone there.
For visual studio 2017 act according to HeeJae's comments in:
https://developercommunity.visualstudio.com/content/problem/113112/design-time-error-checking-isnt-working.html
i.e:
Hi. you are probably hitting a known issue. can you try this?
1.Update to latest release If that doesn’t solve it
2.Go to Tools\Options\Projects and Solutions\General and uncheck “Allow parallel project initialization”.
3.Close VS.
4.Delete the “.vs” directory beside their solution file.
5.Reopen VS.
..
thank you
You can re-enable the "Allow parallel project initialization" option after the issue was solved.
I tried to upgrade VS, reset VS settings, clear VS cache and everything people do conventionally but none of them solved this issue! At the end the mentioned solution worked for me magically.
Good luck
Unloading and loading same project again from the solution does the trick. Just right click on the project and click "Unload Project". Once unloaded, again right click the same project and click "Reload Project". Error highlighting will return.
I had the same issue with 2017. There was a 'disable intelisense' option, make sure that is set to false.
For everyone wondering in 2021..
search for "C_Cpp.errorSquiggles" in the settings.
Make sure to have it active for the user, as well as the workspace.
No need to restart Visual Studio.
For me (VS 2019) , after trying the other answers also, setting the scope of analysis from "Current document" to Open document" brought back the missing error markers
Just go to settings and search for errors and Image in Error Squiggles. You can see the Error squiggles (Modified: Workspace - Right now you can't see it because I modified it). Just click on modified and you will see the disabled option. If by mistake you disabled it, just enable it and you can see the red line errors again in your code.
In latest edition, check for .vscode folder in same project folder. There will be a setting.json file in that. Delete the key value pair of "C_Cpp.errorSquiggles": "Disabled". Restart the vs code.

Resources