Announcing Code Search on Team Foundation Server 2017

Code Search is the most downloaded Team Services extension in the Marketplace! And it is now available on Team Foundation Server 2017! Code Search provides fast, flexible, and accurate search across your code in TFS. As your code base expands and is divided across multiple projects and repositories, finding what you need becomes increasingly difficult…. Read more

7 Ways to Look at the Values of Variables While Debugging in Visual Studio

When you are running your code and something is behaving unexpectedly, how do you find out what is going wrong? When I was in school the first way I learned how to debug a wonky application was by sticking “print()” statements all over the place, running my code, and looking back through the log of… Read more

How CPU Sampling Works

In this blog post, I’ll cover some of the basics of CPU Sampling, the method the Visual Studio profiler uses to capture CPU performance data in your applications. If you’re interested in performance profiling, we welcome any feedback you have and encourage you to help us build better performance tooling! What is sampling? In a… Read more

Using the New Exception Helper in Visual Studio “15” Preview

Dealing with exceptions is a common developer problem no matter your technology or level of expertise. It can be a frustrating experience figuring out why exceptions are causing problems in your code. When you are debugging an exception in Visual Studio, we want to lessen that frustration by providing you with relevant exception information to… Read more

Break on Exceptions Thrown only from Specific Modules in Visual Studio “15” Preview

In Visual Studio 2015 we introduced the new Exception Settings window which provides you a quick way to configure the debugger to break when exceptions are thrown. As part of that window revamp, we heard that simply filtering by exception type is not always good enough, you need finer grained control over when the debugger… Read more

Updates for Debugging Installed App Packages in Visual Studio 2015 Update 2

In Visual Studio 2015 Update 2, we added support to the Debug Installed App Package dialog for: Starting an installed application on Xbox, HoloLens, and IoT (Internet of Things) devices Attaching to processes already running on IoT devices Sorting the apps based on “Running” or “Not Running” state Note that attach to process is not currently supported… Read more

.NET Core Debugging in VS Code

The C# extension for Visual Studio Code offers powerful editing and debugging support for .NET Core applications on Windows, Mac, and Linux, including: Line by line code stepping Breakpoints (including conditional and function breakpoints) Variable inspection Multi-threaded debugging support Call Stacks Debug console window Getting started To get started you will need to do a… Read more

Using the DebuggerNonUserCode Attribute in Visual Studio 2015

You can add the DebuggerNonUserCode attribute to your application as a handy way to tell the debugger that you don’t want to debug into specific sections of code. If you haven’t used this attribute previously, this blog post gives a summary of how you can use it as part of your debugging workflow. If you… Read more

Servicing Update Available for Visual Studio Update 1

In Visual Studio 2015 we are piloting a recurring and cumulative servicing update that provides fixes to high-impact bugs between our regular updates.  In the second servicing update recently made available, we fixed an issue in Visual Studio 2015 Update 1 that can cause Visual Studio to crash sometime after editing C# or Visual Basic files while debugging. You… Read more

Debug UWP Prelaunch with VS2015

On Windows 10, the startup performance of Universal Windows Platform (UWP) apps is improved by proactively launching and then suspending apps in a technique called Prelaunch. Many applications will not need to do anything special to work in this mode, but some applications may need to adjust their behavior, for example an application that shows animations that… Read more