1,019 questions with Visual Studio Debugging tags

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

Visual Studio 2022: How do I Build, Test, Launch and Load an App?

How can I Build, Test, Launch the IIS Express web browser, and Load an App in Visual Studio Community 2022 to create an ASP.Net Core Project on my local machine? # All the required Visual Studio 2022 workloads were installed successfully. #

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.
244 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,019 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,214 questions
asked 2025-01-23T15:26:03.66+00:00
Simba Bryn Mahaja 20 Reputation points
commented 2025-01-25T12:33:11.9466667+00:00
Simba Bryn Mahaja 20 Reputation points
0 answers

Issues Debugging Scripts in Visual Studio with External Tools

Hi everyone, I’m facing some challenges while debugging scripts in Visual Studio when using external tools to automate repetitive tasks. For example, I’ve been experimenting with the arceusX scripting tool and noticed that Visual Studio occasionally…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,377 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,019 questions
asked 2025-01-23T11:31:10.68+00:00
athena987 0 Reputation points
commented 2025-01-24T04:29:31.6866667+00:00
Anna Xiu-MSFT 30,801 Reputation points Microsoft Vendor
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,755 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,019 questions
asked 2024-12-18T13:38:55.14+00:00
Osborne,J,Jon,QDN R 0 Reputation points
commented 2025-01-22T14:00:00.76+00:00
Osborne,J,Jon,QDN R 0 Reputation points
0 answers

When stepping int myFunc(std::string a, std::string b, std::string c) I always have to work through the standard library code constructors. I have in my options "Enable Just My Code" but nothing i do seems to keep this from happening.

My func definition --> int mYFunc(std::string aString, std::string aComparator, std::string aCompareValue); Calling mYFunc("A String with Status=", "stristr", "Status="); Standard routines I keep having to work through. …

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,019 questions
asked 2025-01-19T11:57:03.7+00:00
Todd James 0 Reputation points
edited a comment 2025-01-19T15:05:39.9633333+00:00
RLWA32 46,561 Reputation points
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,019 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,537 questions
asked 2024-11-04T16:48:00.14+00:00
Chris Hurtig 20 Reputation points
commented 2025-01-19T04:17:30.3+00:00
Jeffrey Folk 0 Reputation points
0 answers

How to fix LNK1181 error (including libs)

Severity Code Description Project File Line Suppression State Details Error LNK1181 cannot open input file 'C:\6money\libs.obj' Dll1 C:\6money\Money\Dll1\LINK 1 Hello, I'm currently facing an issue when trying to link the lua54.lib library in my…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,377 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,834 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,019 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
353 questions
asked 2025-01-15T17:57:11.9633333+00:00
Yuri 0 Reputation points
commented 2025-01-17T07:12:29.2533333+00:00
Minxin Yu 12,506 Reputation points Microsoft Vendor
1 answer

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,377 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,834 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,019 questions
asked 2025-01-06T04:24:05.24+00:00
Sai Krishna 0 Reputation points
answered 2025-01-16T08:11:00.38+00:00
Sai Krishna 0 Reputation points
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,019 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,537 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
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,066 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,654 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,237 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,019 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,976 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,019 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,426 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,734 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,377 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.
244 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,019 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 56,321 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,066 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,019 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,801 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,019 questions
asked 2024-12-22T04:55:02.3233333+00:00
Anonymous
answered 2024-12-23T09:10:00.53+00:00
Anna Xiu-MSFT 30,801 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,019 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,801 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,373 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,019 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,890 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,682 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 116K 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,377 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,019 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,377 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,019 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,801 Reputation points Microsoft Vendor
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,377 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,019 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,019 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,237 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,019 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