1,012 questions with Visual Studio Debugging tags

Sort by: Updated
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,706 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,012 questions
asked 2024-12-18T13:38:55.14+00:00
Osborne,J,Jon,QDN R 0 Reputation points
commented 2024-12-25T07:32:36.47+00:00
Brando Zhang-MSFT 3,791 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,011 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,012 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,391 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,012 questions
asked 2024-12-22T04:55:02.3233333+00:00
Anonymous
answered 2024-12-23T09:10:00.53+00:00
Anna Xiu-MSFT 30,391 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,012 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,391 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,223 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,012 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,874 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,672 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 114.6K 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,316 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,012 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
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,012 questions
asked 2024-12-13T10:57:10.1033333+00:00
Matharkar, Aditya 0 Reputation points
commented 2024-12-13T14:27:23.32+00:00
Tianyu Sun-MSFT 31,961 Reputation points Microsoft Vendor
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,316 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,012 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,391 Reputation points Microsoft Vendor
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,012 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,286 questions
asked 2024-11-04T16:48:00.14+00:00
Chris Hurtig 15 Reputation points
commented 2024-12-10T08:54:01.0966667+00:00
Morgan SOULLEZ 1 Reputation point
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,012 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,316 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,012 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,012 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,156 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,012 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,156 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,012 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,012 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 31,961 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,316 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,012 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,067 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
40,617 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
1 answer

vs code terminal is not working

i have been having this problem from past 3 months couldnot find the solution in youtube also

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,012 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,067 questions
asked 2022-11-08T15:13:21.477+00:00
thanatos 11 Reputation points
commented 2024-11-09T17:03:26.0766667+00:00
khushi nigam 0 Reputation points
4 answers

Visual Studio 2022 Diagnostic tool does not display content properly when debugging

During debugging, nothing is displayed in the diagnostic tool window

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,012 questions
asked 2022-12-28T11:07:52.167+00:00
永达 文 1 Reputation point
commented 2024-11-07T19:03:44.12+00:00
Michael W. Powell 16 Reputation points
1 answer One of the answers was accepted by the question author.

ASP.NET Core Controller API has a higth memory consomation when started in debug from recent Visual Studio version

Hi, We have developed a ASP.NET Core Controller API that work. From we updated Visual Studio from 17.10.4 to 17.11.5, when the API is started in debug from Visual Studio, the memory consumption is rising rapidly : The API work fine when started by…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,706 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,012 questions
asked 2024-11-04T16:46:56.72+00:00
Vernou 86 Reputation points
edited a comment 2024-11-05T07:49:18.2133333+00:00
Vernou 86 Reputation points
1 answer

How do i rename, update, or delete a profile name in my personal Microsoft Teams Account

How do I rename, update, or delete a profile name in my personal Microsoft Teams Account? For example, I would like to rename, update, or delete the name 'Claudine' as shown in the picture attached.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,566 questions
Office Management
Office Management
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Management: The act or process of organizing, handling, directing or controlling something.
2,216 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,012 questions
Microsoft Copilot for Microsoft 365 Development
Microsoft Copilot for Microsoft 365 Development
Microsoft Copilot for Microsoft 365: Microsoft 365 Copilot refers collectively to Copilot experiences within Microsoft 365 applications.Development: The process of researching, productizing, and refining new or existing technologies.
182 questions
asked 2024-07-09T02:42:57.3366667+00:00
Nas 0 Reputation points
commented 2024-11-04T17:22:32.3266667+00:00
Muhammad Fakhr E Alam 0 Reputation points