1,000 questions with Visual Studio Debugging tags

Sort by: Updated
3 answers One of the answers was accepted by the question author.

Trying to run C#, C# Dev Kit on MacBook Pro Version 11.7.10, visual studio code Version 1.90.2 (Universal)

Hi. I started to learn C# and trying to run it on visual studio code. Does not work. When I press F5, i get a pop up window with "Internal error in the debugger. Open 'launch.json' or Cancel", launch.json: { "version":…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,886 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,971 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,000 questions
asked 2024-09-20T08:42:53.33+00:00
G 20 Reputation points
edited the question 2024-10-22T14:46:42+00:00
TP 96,336 Reputation points
4 answers

How Do I disable the source Server Code preview when debugging

This has been a problem for me since I updated Visual studios. For reference I am Currently on Visual Studios Professional 2022 17.11.5 With recent updates, it appears that Microsoft has introduced a new feature that opens a code editor with previously…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,147 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,971 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,000 questions
asked 2024-10-22T00:09:57.34+00:00
gklein 0 Reputation points
answered 2024-10-22T05:57:27.0266667+00:00
tobeyjennings-5150 0 Reputation points
1 answer

Help analyse BSOD BugcheckCode 268435583

Hello, I am getting a BSOD with BugcheckCode 268435583 whenever I try to run Acronis backup using an external USB drive. Can someone please help with analysing the cause of the problem? I can submit the mini dump files for analysis. Thanks.

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,000 questions
asked 2024-10-12T00:46:48.4+00:00
Sam 0 Reputation points
commented 2024-10-17T21:33:36.7033333+00:00
Sam 0 Reputation points
1 answer

Not able to debug c++ code on visual studio 2022

I am developing android application using c# and c++. my application uses c++ library. whenever I select c++ debugger in android project properties window and i run my app in debug then I get an error which is attached as image to this question. I…

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,743 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,000 questions
asked 2024-10-08T05:33:44.63+00:00
Gaurav Sharma 0 Reputation points
edited a comment 2024-10-15T08:12:32.69+00:00
Tianyu Sun-MSFT 30,831 Reputation points Microsoft Vendor
2 answers

Facing "Duplicate 'global::System.Runtime.Versioning.TargetFrameworkAttribute' attribute

I have been facing the error below and have been following the main threads on Google. I've tried to delete the obj and bin folders and Rebuild the project, also updated Visual Studio, but I was not successful. Thanks for all of you that can…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,147 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,971 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,000 questions
asked 2024-02-27T16:42:58.3133333+00:00
Dante Santos 5 Reputation points
answered 2024-10-10T23:24:32.13+00:00
Ajay KN 0 Reputation points
7 answers

How to target .NET Framework 4.0 in VS 2022 on Windows 11?

Working on some old projects targeting .NET Framework 4.0. I used VS 2022 to open the solution and was told to install 4.0 targeting pack. I can't find the download link on the dotnet website, nor the installation option in Visual Studio Installer. …

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,971 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,164 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,000 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,745 questions
asked 2022-09-05T07:41:23.313+00:00
Lee Feng 151 Reputation points
commented 2024-10-08T20:07:04.0933333+00:00
Naik, Harsh Dharmeshkumar 0 Reputation points
0 answers

Lower the 'Deployment Target' to see older simulators or check your Apple SDK path warning after update

I can't run my Xamarin Forms application on Mac in the simulator, writes: Lower the 'Deployment Target' to see older simulators or check your Apple SDK path warning after update

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,360 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,000 questions
asked 2024-09-30T10:38:11.03+00:00
Vladimir Platun 0 Reputation points
edited a comment 2024-10-04T06:10:31.75+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 76,001 Reputation points Microsoft Vendor
1 answer

Designer load encountered an error

Starting a project in Visual Studio. Getting error: |Designer load encountered an error. Please ensure that the project can be built successfully|Designer load encountered an error. Please ensure that the project can be built successfully| |…

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,000 questions
asked 2024-09-17T21:27:47.13+00:00
Sandy Gordon 0 Reputation points
commented 2024-10-02T08:39:38.1733333+00:00
Anna Xiu-MSFT 29,096 Reputation points Microsoft Vendor
1 answer

How to fix "variable $(workspaceFolder) can not be resolved. Please open a folder."

error when debugging. It used to work just fine before idk what happed to visual studio

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,000 questions
asked 2024-09-23T17:07:43.3166667+00:00
amrbahaa 0 Reputation points
commented 2024-10-01T09:06:40.5466667+00:00
Anna Xiu-MSFT 29,096 Reputation points Microsoft Vendor
2 answers

Debugger is not hitting breakpoint set in SharePoint 2010 application code in Visual Studio

I have my SharePoint 2010 application code in Visual Studio. I did clean, rebuild and deploy solution. I have done "Attach to Process" w3wp.exe files in the debug, but debugger is not hitting breakpoint when trying to work on UI. IIS reset is…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,496 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,147 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,009 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,000 questions
asked 2024-09-19T11:25:46.3666667+00:00
VG 0 Reputation points
edited the question 2024-09-27T07:26:34.6766667+00:00
RaytheonXie_MSFT 35,866 Reputation points Microsoft Vendor
0 answers

How to fix An operation was attempted on a nonexistent network connection. (0x800704CD)

Hi guys I got an exception error like the below stack trace. I suspect the problem is when reading the response data, or reading the data for the request. Could you tell me why this exception occurred and how to fix it? Exception Type :…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,575 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,000 questions
.NET Internet of things
.NET Internet of things
.NET: Microsoft Technologies based on the .NET software framework.Internet of things: A concept that aims to extend the benefits of the regular internet, including constant connectivity, remote control ability, and data sharing, to goods in the physical world.
30 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,817 questions
asked 2024-06-20T10:15:45.9166667+00:00
Sejune Oh 10 Reputation points
commented 2024-09-26T13:22:09.4966667+00:00
Ermolaev, Nikita 0 Reputation points
1 answer

How install specific version of VCLibs debug (14.0.30704.0)

I need specific version of VCLibs DEBUG: Microsoft.VCLibs.140.00.Debug_14.0.30704.0_x64__8wekyb3d8bbwe I installed MVS 2015 with Universal Windows Tools but it has 14.0.24210.0 how can i update it to 14.0.30704.0? or does somebody know where can I found…

Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
222 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,000 questions
asked 2024-09-25T21:52:53.5466667+00:00
Marek 0 Reputation points
edited a comment 2024-09-26T08:41:37.72+00:00
Marek 0 Reputation points
1 answer

Games not launching due to MSVCP120.dll errors, constant, seemingly random blue screen crashes,

I recently was gifted Postal 2 on steam by a friend, upon trying to launch the game would constantly prompt "The code execution cannot proceed because MSVCP120.dll was not found. Reinstalling the program may fix this problem" or some variation…

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,000 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,745 questions
asked 2024-09-23T08:47:32.6966667+00:00
Kellan Cantwell 0 Reputation points
commented 2024-09-26T06:41:48.08+00:00
Tianyu Sun-MSFT 30,831 Reputation points Microsoft Vendor
0 answers

My C++ Visual Studio 2022 windows debugger closes instantly but it doesnt close instantly when ı just run it without debugging

It really is simple as the title suggests. İ have tried the fixes on the internet but they didnt work for me. I have tried disabling and enabling the "Automatically close the console when debugging stops" option countless times but it didnt…

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,000 questions
asked 2024-09-20T12:19:07.2766667+00:00
Abbas Emre Şen 0 Reputation points
commented 2024-09-23T07:40:11.23+00:00
Anna Xiu-MSFT 29,096 Reputation points Microsoft Vendor
1 answer

Debugger is not hitting breakpoint set in SharePoint 2010 application code in Visual Studio

I have my SharePoint 2010 application code in Visual studio. I did clean, rebuild and deploy solution and selected "Attach to process" w3wp.exe files from debug but the debugger is not hitting the breakpoints while working on UI. IIS reset also…

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,750 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,000 questions
asked 2024-09-19T11:06:43.6366667+00:00
VG 0 Reputation points
answered 2024-09-20T06:49:27.0066667+00:00
RaytheonXie_MSFT 35,866 Reputation points Microsoft Vendor
0 answers

Visual Studio Debugger Error 0x80040154

How can I resolve the error code 0x80040154 preventing Visual Studio debugger from attaching to a process? I have already tried to re-install Visual Studio and its installer, but the error persists.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,147 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,000 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,047 questions
asked 2024-09-19T19:16:59.9666667+00:00
priya v 0 Reputation points
edited a comment 2024-09-20T03:34:55.2933333+00:00
Anna Xiu-MSFT 29,096 Reputation points Microsoft Vendor
0 answers

VS 2022 - Unable to start program The debugger is not properly installed. Run setup to install or repair the debugger.

Hi. I try to run/debug C/C++ project and I keep getting this error message. I tried to repair VS 2022 from the installer with no success. I tried to remove it completely using InstallCleanup.exe and installing it back with no success. …

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,000 questions
asked 2022-08-16T22:25:50.24+00:00
AsafY 21 Reputation points
edited a comment 2024-09-19T17:02:04.76+00:00
Robert Yin 0 Reputation points Microsoft Employee
10 answers One of the answers was accepted by the question author.

VS Code Debugger not working for python

I am experiencing debugging issue for my VS Code in WIN-10. It happened since weekend when I did OS restart . It was working fine before and I had launch.json configured too. Debugging was working fine. Any troubleshooting tips. It seems when I do…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,147 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,000 questions
asked 2022-02-07T07:03:40.79+00:00
GHANASHYAM SATPATHY 306 Reputation points
answered 2024-09-18T13:22:43.64+00:00
Moritz Wolf 0 Reputation points
0 answers

How do you log function call counts in C++ with vsinstr.exe

I'd like to get a call tree with counts for a C++ dll. This says only supported for .NET: https://zcusa.951200.xyz/en-us/visualstudio/profiling/cpu-usage?view=vs-2022 but Starting in Visual Studio 2022 version 17.6, the Instrumentation tool also…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,147 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,743 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,000 questions
asked 2024-09-15T16:43:47.32+00:00
yoyodyne01 61 Reputation points
commented 2024-09-16T09:27:25.2433333+00:00
Anna Xiu-MSFT 29,096 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Error: "Exception of type 'System.Exception' was thrown." when I try to create a new project in Fortran

I cannot create a new project or solution related to Fortran in Visual Studio 2022 Community. I get the error: "Exception of type 'System.Exception' was thrown." I already tried: The solution posted here:…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,147 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,000 questions
asked 2024-09-05T00:27:32.79+00:00
Ortega Ramos, Jessica Alexandra 20 Reputation points
accepted 2024-09-10T16:44:15.8233333+00:00
Ortega Ramos, Jessica Alexandra 20 Reputation points