No Thread Window Visual Studio 2010 Ultimate - multithreading

Does anyone know what the problem here? There is no Thread Window in Debug menu.
I am using full VS2010 (Ultimate SP1).

The Threads window option only becomes available while actually Debugging a process.
Choose "Start Debugging", then go back to the same menu, and Threads (as well as many other options) will appear.

You need to be debugging in order to have the option show up in the menu:

I marked a thread as a duplicate of this one but the author was also looking for the Tasks window. Adding this answer to be clear that it is under the same menu option in newer versions of Visual Studio.
As per the answer, you need to be in debug mode for this option to show up.

Related

LogCat is missing the filters options

The filters are on the devices tab. But isn't this supposed to be in logcat?
How do you reset them back?
There is a way to make it appear.
Just click the "Event log" label in the bottom-right of AS.
But it may will miss again in some case... I guess whether it's a bug of AS.
This bug is still existing in Android Studio 3.5 the lastest stable version, I got it just now(08/26/2019 3:13PM).
Had this problem on Android Studio 3.2 Beta 4 (Windows 64-bit). Toggling 'Floating Mode' on and off again made the filters reappear. Bit faster than exiting Android Studio if you're lucky enough.
Had the same problem.
Exit and restart Android Studio and it should be fixed.
Interestingly, the first time I tried to re-open Android Studio I got a crash. But the second time it worked fine. Perhaps there's a bug somewhere.
See This Image Here, Bottom of android studio left side corner click the rectangle icon.
Restart Android Studio didn't help me, nor toggling floating mode, but clicking the "Event log" label in the bottom-right of AS did the trick!
I fixed this by setting viewmode for logcat to a separate window and the switching view mode back to "Dock Pinned". Right click on the top bar of and you will see view mode option. It will essentially reset logcat.
I fixed by changing its location. Click Setting -> Move to -> Left Top : The logcat reappeared. After that, change it to the previous location. Click Setting -> Move to -> Bottom Left
I had the same problem.
File -> Invalidate Caches / Restart solved the problem.
Bug still occurs in Android Studio 3.5
Build #AI-191.8026.42.35.5791312. What worked for me is clicking the Event Log then it shows.
I faced the same problem in Android Studio 3.3 and by Toggling 'Floating Mode' on and off, the filters appeared.Hope it will help in your case also.
Just right click on the title bar of it and switch to windowed mode then go back to your mode...
Still having the problem with AS 3.5 which is awful! Fixing it every time by switching logcat window view mode from dock pinned to float and changing it back to dock pinned again.
Opened an issue here for the team to fix it. Consider starring it to get more attention, or sharing your own experience to help find the culprit.
I resolved this issue by selecting 'split mode' from the setting option of the top right corner of LogCat section of Android Studio
Happy Android Coding!
Hope this will save anyone's time!
Simple
File -> Invalidate Caches / Restart -> Invalidade and Restart
I had the same problem. It didn't ever happened before on my PC, but now I'm using Mac and many bad things happens.
I tried to fix it by the above solutions, but nothing worked for me. What eventually did work was double clicking the toolbar (to maximize tool window).
I tired closing and reopening Android Studio and even restarting my mac and nothing worked. Instead of closing Android Studio I did invalidate cache and restart under the tab file in Android Studio and everything seems to be fixed now
I fixed in Mac by double clicking toolbar window to maximize as comments above.
I tried restarting a couple of times but that did not bring the filter menu in Logcat tab. However, in my case, it was also showing a pop-up notification to update the IDE. I updated it and got the filter option back.
I synced the files and then restarted the computer.
In my case
On your android studio press ALT+6
Go to Setting Right Top, just Click Show Tool
In your android studio settings, go to Experimental and unvalidate the "Enable new logcat" and restart your android studio, it will work.

visual studio 2012 puts a small number in the top left corner of my screen

I am wondering if anyone else has had this issue with visual studio (or a VS extension because I have a few installed) and what is causing this? The number goes away when I close visual studio and I have not been able to figure our what is causing this. The number is overlayed on my desktop and not just visual studio. It covers all other windows I have open as well telling me it's set to be always on top.
Anyone else come across this issue or what is causing it?
I figured it out!
This has been bothering me for years. I finally just sat down and solved the problem. Basically, VS has this little known feature where you can navigate through code lens with just your keyboard. If you press Alt for a couple of seconds, you will see numbers just like the ones that appear at the top of your screen above your current method. To fix it, just long press Alt again and the number should go away. If you have many VS instances open you might have to go through them one by one.
I don't have significant reputation to comment, but I am experiencing this both with VS2013 and VS2015 too. The only extension I have installed is Resharper.
My research shows that it is caused by the hover text / overlays from various components. The only way I have found to get rid of them is to close the Visual Studio IDE window responsible.

Visual Studio 2013 Edit and Continue not working

With VS2013 Pro I am not able to use "Edit and Continue" when debugging an MFC program. I created a new MFC project to test.
OS is Windows 7 64-bit and I'm running Visual Studio 2013 12.0.30110.00 Update1.
Under Tools->Options->Debugging->Edit and Continue I have Enable Edit and Continue checked. I have unchecked it and checked it, but whenever I modify the code while debugging I get the following message:
The source file has changed. It no longer matches the version of the file used to build the application being debugged.
Basically I haven't changed any settings except for the tab sizes and I've set the keyboard mapping scheme to VC6.
What setting am I missing to enable edit and continue?
Edit and Continue is disabled for native code by default. To enable:
On the Tools menu, click Options.
In the Options dialog box, open the Debugging node, and select the Edit and Continue category.
In the Native-only options group, select Enable native Edit and Continue
Edit:
Steps to test native Edit and Continue is working:
Start VS 2013
Create a new MFC project:
FILE->New Project->MFC Application->OK.
Select Finish on the MFC Application Wizard.
Build and start debugging:
BUILD->Build Solution
DEBUG->Start Debugging
Break into the program:
DEBUG->Break all
Make a code change:
Open OutputWnd.cpp and find COutputWnd::OnSize (Line 80)
Insert this line at the start of the function: cx = cx / 2;
Continue execution:
DEBUG->Continue
Resize the application window to see the effect of the code change on the Output pane at the bottom. Its width should be half the required size.
Edit and continue is also a Setting for each project.
It must be set in the compiler options under C++ -> General -> Debug Information Format: "Program Database for Edit And Continue (/ZI)"
Also the linker settings must be changed. The linker has to use incremental linking. Linker -> General -> Enable Incremental Linking = Yes or (for VC 2012 users) C++ -> All Options -> Enable Function-Level Linking = Yes (/Gy)
For more information read the MSDN.
The last hint helped, but we had to
set "Image Has Safe exception handlers" = NO(/SAFESEH:NO)
in all projects of our solution!
I did all steps described above, but nothing helps (thanks all for it).
My solution was:
Project -> Properties -> Linker -> Advanced:
set
"Image Has Safe exception handlers" = NO(/SAFESEH:NO)
Apply, Ok, and Rebuild project.
Hope it helps.
For what it's worth I've been pulling my hair out on this one as well. I finally got edit and continue working by changing the following setting:
Project > Properties > Linker > All Options > "image has safe exception handlers".
It was set to No (/SAFESEH:NO). I went in and deleted it. I didn't set it to YES, or NO. I simply kept it blank. I would love to know what it means to be blank. But edit and continue is now working for me. Maybe it will help for you.
A project with a "Release Configuration" will disable Edit and Continue.
To change this
Open "Configuration Manager"
Change Configuration for the project from Release to Debug
Rebuild and debug project
Edit and Continue will also not work if your project's Platform Toolset is set to Visual Studio 2012 (v110), instead of the usual Visual Studio 2013 (v120).
This setting is in Project > Configuration Properties > General > Platform Toolset.
The solution of this problem is on the Microsoft Documentation...
If IntelliTrace is enabled and you collect both IntelliTrace events and call information, Edit and Continue is disabled.
On Visual studios' menu go on Tools>>options - Select "IntelliTrace" tab and let IntelliTrace events only checked.. Save, restart the visual studio and.......
Your Edit and Continue will work again!

No memory window in Visual Studio 2010

I have VS2010 Premium RTM version on Windows 7 Ultimate x64.
In the documentation they refer to the Memory 1-4 windows, supposedly under Debug->Windows->Memory.
I have "Enable address-level debugging" enabled in VS (Options->Debugging).
The problem is that I have no Memory menu item under Debug->Windows during debug of a c++ program.
Under Debug->Windows I have only:
Breakpoints
Parallel Tasks
Parallel Stacks
Watch ->
Locals
Call Stack
Threads
Have anyone else experienced this (and hopefully solved it)?
During the first run of VS after installation it asks you which "mode" it should run in, depending on your selection it shows or hides various menu items etc. Maybe you selected an option that hid those windows? This is described at this page.
I think you can use the information on this page to change those settings.
You might also be able to just run Devenv /ResetSettings to reset them, but not sure exactly what you'd end up with then...
Go to command Window and type in memory. It will show the Memory 1 watch window. I had to do that because I still can't find the debug command for it under customize even.
You can switch to expert mode by checking :
Tools > Settings > Expert Settings
Now you can show up Registers Window and much more other windows
The Memory window is available only if address-level debugging is enabled in the Options dialog box, Debugging node. The Memory window is not available for Script or SQL, which are languages that do not recognize the concept of memory.
or go here for other details:
http://msdn.microsoft.com/en-us/library/s3aw423e.aspx

Visual Studio Express - console window as a tab

I wonder, if there is a way to make VS C++ Express console window appear as tab, like 'Output' or 'Code Definition Window', rather than new window (the same way like Eclipse does). Any IDE settings or plugin?
Thanks in advance,
Regards, Pawel (PL)
You'd need to create a visual studio plugin to do this, and from the accepted answer to this question you can see that the top listed item that's missing is:
No Add-in/macros
so while you might be able to create one, you won't be able to run it from the Express edition.

Resources