1,015 questions with Visual Studio Debugging tags

Sort by: Updated
2 answers

I'm running Windows 11 24H2 and using Visual Studio 2022 Professional. When debugging my program, it fails with "Error while trying to run project: unable to start the program".

However, this is working on my laptop just fine. It has Visual Studio 2022 and runs this same debug without issue. I think it is related to windows 24H2, but can't be sure. The program I'm debugging hasn't changed so it related to something else. I am…

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,015 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,413 questions
asked 2024-11-04T16:48:00.14+00:00
Chris Hurtig 20 Reputation points
commented 2025-01-13T07:35:51.0033333+00:00
Morgan SOULLEZ 1 Reputation point
1 answer One of the answers was accepted by the question author.

Unable to start IIS Express after updating Windows 24H2

Hi, After updating to Windows 24H2, starting a web application in Visual Studio with .NET Framework 4.8 shows the error: Unable to start program Files\llS Express\iisexpress.exe. The process has been terminated. Refresh the process list before…

Internet Information Services
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,015 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,413 questions
asked 2025-01-08T23:10:01.8166667+00:00
Irfan Bawa Suteja 20 Reputation points
edited a comment 2025-01-13T05:34:06.8833333+00:00
Irfan Bawa Suteja 20 Reputation points
0 answers

GUI application Execution fails after porting an application from VS2015 to VS2022.

There is a GUI Application that is based on C++ that we are trying to update from VS2015 to VS2022. The application after the upgrade is not functioning as expected. The executable does not even open although the build is successful. In VS2015 though,…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,339 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,818 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,015 questions
asked 2025-01-06T04:24:05.24+00:00
Sai Krishna 0 Reputation points
edited a comment 2025-01-11T22:11:50.4266667+00:00
Darran Rowe 1,321 Reputation points
1 answer

Blazor hangs when debugging with authentication

Am I the only one who experience that 9 of 10 times Blazor hangs with this message when I use authentication, and after I have logged in?   Any hints on how to get past this issue?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,037 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,645 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.
11,188 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,015 questions
asked 2024-04-07T11:22:21.7633333+00:00
Finn Arildsen 76 Reputation points
answered 2025-01-08T18:11:07.2433333+00:00
Bruce (SqlWork.com) 69,121 Reputation points
0 answers

Remote debugging of ASP.NET (.NET Core 8) app under IIS 10 will not show source code on breakpoint

Historically, I've had no problems using the remote debugger on a Windows server for .NET Framework web services. I've now had to create a .NET Core 8 Web API using VS2022. I've published the service to a W2016 host and am hosting it under IIS…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,731 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,015 questions
asked 2024-12-18T13:38:55.14+00:00
Osborne,J,Jon,QDN R 0 Reputation points
commented 2025-01-07T07:59:06.0066667+00:00
Osborne,J,Jon,QDN R 0 Reputation points
0 answers

RuntimeKernel.exe file not found while debugging .sln

"Unable to start program RuntimeKernel.exe"

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,015 questions
asked 2024-12-13T10:57:10.1033333+00:00
Matharkar, Aditya 0 Reputation points
commented 2025-01-06T07:53:09.1533333+00:00
Tianyu Sun-MSFT 32,141 Reputation points Microsoft Vendor
1 answer

Visual studio 2022 crashing when any exception is thrown while debugging and when trying to look at available extensions

I figured out the answer to this one the hard way so I'm posting this to hopefully help someone in the future. Steps for my VS2022 to cause the crash: Create new project. After the hello world, add a throw new Exception(); and debug it. When it executes…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,637 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,339 questions
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.
239 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,015 questions
asked 2025-01-02T23:35:25.38+00:00
MG 0 Reputation points
commented 2025-01-03T07:01:01.3733333+00:00
JimmyYang-MSFT 55,626 Reputation points Microsoft Vendor
1 answer

How to Debug WCF Project Using Visual Studio as Non Administrator

When I open Visual Studio 2022 as Admin, I can able to easily run our WCF Project which is having Net Tcp Binding, but when opened VS 2022, as Non Admin and Run this Project, I am getting the below exception. "'The service endpoint failed to listen…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,037 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,015 questions
asked 2024-12-20T17:00:57.7366667+00:00
Ali basha Syed 20 Reputation points
commented 2024-12-24T09:36:45.19+00:00
Anna Xiu-MSFT 30,561 Reputation points Microsoft Vendor
1 answer

insufficient memory to continue execution of program

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.OutOfMemoryException: Insufficient memory to continue the execution of the program. at…

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,015 questions
asked 2024-12-22T04:55:02.3233333+00:00
Anonymous
answered 2024-12-23T09:10:00.53+00:00
Anna Xiu-MSFT 30,561 Reputation points Microsoft Vendor
0 answers

I need help with this JIT Debugging message

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.ArgumentException: Parameter is not valid. at System.Drawing.Image.FromStream(Stream stream,…

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,015 questions
asked 2024-12-20T14:55:40.81+00:00
Lauren Zyburt 0 Reputation points
commented 2024-12-23T07:44:28.6866667+00:00
Anna Xiu-MSFT 30,561 Reputation points Microsoft Vendor
2 answers

Unable to debug Stored Procedure

I get the following error: Unable to start the Transact-SQL debugger, could not connect to the Database Engine instance. Make sure you have enabled the debugging firewall exceptions and are using a login that is a member of the sysadmin fixed server…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,280 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,015 questions
Windows Server Security
Windows Server Security
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
1,881 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,675 questions
asked 2021-08-30T20:02:34.027+00:00
D D 6 Reputation points
commented 2024-12-20T21:52:52.7233333+00:00
Erland Sommarskog 115.1K Reputation points MVP
1 answer

I 'm suddenly having troubles with running in debug mode(F5). When I hit F5 or click on the Run button the application starts, but stops suddenly

I have one vs 2022 blazor web assembly project. It stops automatically when i run it locally. Not able to debug blazor UI (razor.cs) pages. I set launch browser setting to false and so able to debug backened api code but still not able to debug…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,339 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,015 questions
asked 2023-03-18T10:39:22.26+00:00
mtewary 0 Reputation points
commented 2024-12-20T13:02:08.7033333+00:00
Wayne Hamberg 0 Reputation points
1 answer

Visual studio data modeling page is not visible

Visual studio data modeling page is not visible and i can see it is opening in another server with same version of VS 2022

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,339 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,015 questions
asked 2024-12-05T14:18:29.01+00:00
Shyam Pilla 0 Reputation points
commented 2024-12-11T07:40:27.0233333+00:00
Anna Xiu-MSFT 30,561 Reputation points Microsoft Vendor
4 answers One of the answers was accepted by the question author.

Disabling autocompletion from spacebar in VS 2022

This problem is maddening and the only thing I've found is that 2019 isn't going to see a fix for it. I found a couple listed fixes for earlier versions to remove the spacebar from the list of keys that trigger autocomplete but not even a mention of the…

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,015 questions
asked 2022-03-05T01:02:44.72+00:00
Jingo Unchained 66 Reputation points
commented 2024-12-09T19:31:55.5233333+00:00
Garrett Hensley 5 Reputation points
1 answer

Microsoft Visual Studio 2022 Object Reference Not set to an instance of an object

Hello, Recently, I updated my vs to the latest version. But I cannot checkout or change to other branch. Vs always throw below error message. I've tried to remove the following folders and restart my vs: …

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,339 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,015 questions
asked 2021-12-06T04:52:56.427+00:00
Weiyan Lu 26 Reputation points
commented 2024-12-03T17:50:14.4166667+00:00
R, Parameshwari 0 Reputation points
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,015 questions
asked 2024-09-17T21:27:47.13+00:00
Sandy Gordon 0 Reputation points
commented 2024-11-26T20:31:34.3366667+00:00
Mike Meinz 1 Reputation point
3 answers

Error Debugging in Visual Studio Code: 'ConnectionLostException' when attempting to run C# code

Visual Studio Code Version: 1.79 Operating System: Windows 11 Pro, 64-bit Problem Description: When attempting to debug C# code in Visual Studio Code, the following error message appears: "Your changes cannot be applied due to an unexpected…

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.
11,188 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,015 questions
asked 2023-10-05T08:57:22.1533333+00:00
Ladislav Hochman 35 Reputation points
commented 2024-11-25T18:10:11.15+00:00
Jesualdo Flores Alvarado 0 Reputation points
1 answer

struggeling with simple Serial to USB code sniplet error #4294967295

Beeing rather new to C# and Visual Studio I yesterday downloaded the VS community version to learn how to possibly establish a serial communication to my Arduino. (So hopefully my request doesn't sound too silly. ( Before that I was struggeling with…

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.
11,188 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,015 questions
asked 2024-11-24T08:37:16.8+00:00
Optimist 0 Reputation points
answered 2024-11-25T08:36:41.2233333+00:00
Optimist 0 Reputation points
1 answer

Visual Studio Code- how do I debug a loaded module?

In Powershell ISE, I was able to open a function code module in the ISE, set a breakpoint, in the command line window below, dot source the function code, then run the function from the ISE command line with parameters and was able to debug the…

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,015 questions
asked 2024-11-14T00:31:14.0066667+00:00
Julian Milano 1 Reputation point
edited an answer 2024-11-14T05:48:49.9866667+00:00
Tianyu Sun-MSFT 32,141 Reputation points Microsoft Vendor
2 answers

CAN I SELL "APPLICATIONS" DEVELOPED USING VISUAL STUDIO "COMMUNITY EDITIONS"?

This question is very basic & straight forward. There are many different FAQ's in MSDN Forum but none has been awnsered straight. This License agreement or EULA begins with a. Individual License. If you are an individual working on your own…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,339 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,015 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,073 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
40,936 questions
asked 2021-12-18T05:30:52.62+00:00
Bharath J Sharma 1 Reputation point
edited a comment 2024-11-11T03:54:57.77+00:00
Greg 1 Reputation point