Can't find Debug Managed Memory option. Visual Studio 2013 Ultimate Edition - c++

I have been trying to fix a weird memory problem with my C++/SDL2 program. I want to use the Debug Managed Memory feature in VS 2013 to compare two dump files I made, but the option is not there. I am using .NET 4.5 and VS 2013 Ultimate edition, so I don't know why the option wont show.
Many thanks to anyone who answers. Any theories (no matter how crazy) will help because I am clueless at this point.

Related

Windows application crash .dmp file analysis in visual studio

To get the dump file (for crashes) I am using the userModeProcessorDumper.exe. Now the question is how to read this file (to see the stack information). Regarding this I have couple of questions
Yes I know I can use WinDbg (related tools) to analyze the .dmp file. My question is - Can this be analyzed in Visual Studio? To be more specific - I am having Visual Studio Enterprise Edition 6 - In this particular pack - can the .dmp file be opened for analysis.
If Yes, Please help me with steps.
I see in web advice to use Visual Studio 2XXX version. So I am feeling that the same cannot be done using VS Enterprise Edition.
The application is built on MinGW, even these application - can we analyze in Visual Studio (what ever is the edition - i.e Visual Studio 2XXX or VS Enterprise Edition X.Y)? Should I take care of any additional setting for this.
Any material link on this topic would be very helpful to me.
Thanks a lot in advance for your advice.
PS : My application is a C++ based application.
From what I remembered, VS6 cannot be used to debug dumps. It's been a while since I last used it, and trying to verify me memory I came across a workaround that might allow you to debug those dumps after all: Visual C++ 6, and post-mortem (crash dump) debugging.
I don't have VC6 at hand, and have no idea if this really works. Other than that, I feel for you... There are IDEs so much better than VC6. Hope this inability gives you the push towards an upgrade. Debugging dumps is really easy with VC7 and above.

PreFast in VS 2010?

Which version of VS 2010 has PreFast static code analyzer for native c++? I have downloaded VS 2010 Ultimate edition trial version in hope that it would contain all the features, but could not found inbuilt PreFast in it.
I tried to link VS 2010 to set it directories with WDK's PreFast and add "/analyze" in comand Line additional options but unable to get results.
it's in ultimate (I just tested it), but I don't think it's in pro.
help page http://msdn.microsoft.com/en-us/library/bb385907.aspx
I was looking for some memory leakage, thread dead locks kind of rules.
Prefast is static analysis tool. It checks for possible NULL derefferensing, buffer overruns and such. You are looking for dynamic analysis tool like Bounds Checker. Not sure, that it is available for VS 2010. Another option would be to use Application Verifyer.

silent closing VS 2008 on Windows 7

I am trying to build a MFC Windows Application with Visual Studio 2008 on Windows 7. I use the "Batch build" feature of Visual Studio to get both Release and Debug of several projects' outputs with only one-click.
The problem is: Frequently, after I instruct VS 2008, some minutes later VS closes its window without any explanation. I have already seach the Web about these things and it seems that nobody as an answer.
I cannot be more specific than this. VS simply closes and you will not get any information.
Thanks in advance,
Sérgio
The best answer I could give would be to contact Microsoft directly and let them know of your problem. If there is no error information, it could be that they are not handling an exception and the program is just closing instead.
Seems that installing the patch quoted on http://arstechnica.com/microsoft/news/2009/03/widely-reported-crash-in-visual-studio-2008-sp1-fixed.ars solves the issue.

Performance Profiling with Visual Studio

How can I get Visual Studio to help me optimize my application, or tell me areas of slowness? Thanks
If you have Visual Studio 2013 Professional then you can use the Performance and Diagnostics hub: http://blogs.msdn.com/b/visualstudioalm/archive/2013/07/12/performance-and-diagnostics-hub-in-visual-studio-2013.aspx . This profiler is well integrated in the IDE and I've found it really quick and easy for spotting code hotspots.
If you have the super enterprise edition it's built in (but I haven't used it - and I think it's ability to profile unmanaged code is limited)
Otherwise see What's the best free C++ profiler for Windows?
As another suggestion, I have found the AMD CodeAnalyst a great companion. It integrates with VS2010 very well, and provides detailed breakdown of CPU time on a line-to-line basis. You can zoom in and out to see from a top-level to a function-level. Not to mention it even has in-line disassembly display if you need that extra bit of information!
Totally worth a try.
The Windows SysInternals website has a number of other useful utilities for network management, security, system information and more. Check it out. I’m sure you’ll find something of value.
Here is how it helped me:
Slow Visual Studio Performance … Solved!
I had an odd performance-related issue today. My Microsoft Visual Studio seemed to be taking far too long to perform even the simplest of operations. I Googled around and tried a few ideas that people had such as disabling add-ins or clearing Visual Studio’s recent projects list but those suggestions didn’t seem to solve the problem. I remembered that the Windows SysInternals website had a tool called Process Monitor that would sniff registry and file accesses by any running program. It seemed to me that Visual Studio was up to something and Process Monitor should help me figure out what it was. I downloaded the most recent version, and after fiddling around a bit with its display filters, ran it and to my horror, I saw that Visual Studio was so slow because it was accessing the more than 10,000 folders in C:\Users\krintoul\AppData\Local\Microsoft\WebSiteCache on most IDE operations. I’m not sure why there were that many folders and moreover, wasn’t sure what Visual Studio was doing with them, but after I zipped those folders up and moved them somewhere else, Visual Studio’s performance improved tremendously.

Where can I find a free compiler for Windows Vista which works in Fullscreen mode? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 2 years ago.
Improve this question
I need to know where i can get a free version of C and C++ compilers for Windows Vista. Many of the versions i have tried are not working in fullscreen mode.
Please take a look at visual studio 2008 express edition.
It is a freeware IDE and compiler from Microsoft for C#, VB.Net, C++, SQL, and web.
The Express line is a lightweight version of Microsoft Visual Studio 2008 product.
I believe it has full screen support in the IDE.
See the wikipedia page for further reading.
Have you tried MinGW? It's a command-line compiler. I don't have Vista, so I can't test it, but it should work.
Visual Studio Express 2008 if free. It's lacking some specific features that might be a requirements for you. You can check here.
I'm not sure what you mean by "not working in fullscreen mode". Can you be more explicit about what you have tried and exactly how it hasn't worked?
I would recommend trying out the on of thew Microsoft Visual Express packages. http://www.microsoft.com/express/.
I found them very good for trying things out especially for a single developer who is not too concerned about deployment and getting a product to market.
I am not sure if it works for Vista but I can't see why it wouldn't work.
You can try the following to see if they work on Vista.
http://nuwen.net/mingw.html#download (comes with Boost with all the libs already built)
http://www.tdragon.net/recentgcc/
Apart from the aforementioned MSVS and MinGW, you could try Eclipse CDT and Code::Blocks. While MSVS, especially with Visual Assist (costs money), is quite a powerful and convenient tool, the other IDEs have the benefit of working with more OSes. And yes, they’re powerful and convenient, too.
Update: True, these are IDEs, not compilers. For C++ under MS Windows, they both use MinGW as the compiler. But it’s my understanding that it’s IDEs that the OP needs.