943 questions with Visual Studio Debugging tags

Sort by: Updated
1 answer

Visual Studio 2022 cannot start debugging

Created a new project using C# Console app and .NET 8 Framework and I cannot run my code as it is greyed out

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,620 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.
943 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.
329 questions
asked 2024-03-07T15:57:01.87+00:00
Vivek Kahar (Student) 0 Reputation points
commented 2024-03-20T05:26:00.8466667+00:00
Tianyu Sun-MSFT 27,356 Reputation points Microsoft Vendor
1 answer

Cant use a GoLang http server in vs code

When i try to run my http server (written in go) in vs code, it comes up with the error: main.go:1:1: expected 'package', found 'EOF'. but it works when i write it in note pad and do it manually(not in vs code)(it dosent work even if it was created in vs…

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.
943 questions
asked 2024-03-17T00:45:06.4533333+00:00
William Roberts 0 Reputation points
answered 2024-03-18T10:03:17.56+00:00
Tianyu Sun-MSFT 27,356 Reputation points Microsoft Vendor
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.
943 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.
970 questions
asked 2022-11-08T15:13:21.477+00:00
thanatos 6 Reputation points
commented 2024-03-16T17:44:07.28+00:00
vivek chandak 0 Reputation points
0 answers

To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.

To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.

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.
943 questions
asked 2024-03-12T19:39:47.3166667+00:00
amit 0 Reputation points
commented 2024-03-15T14:33:27.0966667+00:00
amit 0 Reputation points
0 answers

Visual studio not able to access registered Keyset to sign assembly while building project

I have project which needs 'sign assembly' set to true while building/running. Operating system - windows 11 Installed certificate pfx with following command -i "certificate pfx file name with related file path" "container…

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.
943 questions
asked 2024-03-13T07:14:24.5466667+00:00
Prachi Godse 0 Reputation points
commented 2024-03-13T14:09:01.7266667+00:00
Anna Xiu-MSFT 25,801 Reputation points Microsoft Vendor
1 answer

microsoft visual studio code 2019 work slowly when i connect to wifi

Why microsoft visual studio code 2019 work slowly when my device is connected to the Internet, the command executes very slowly, note : when I am not connected to the Internet, the program executes quickly, note2 : it is updated to the latest version…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,620 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.
943 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,210 questions
asked 2024-02-26T10:20:55.8666667+00:00
محمد الزعبي 0 Reputation points
commented 2024-03-12T13:47:57.91+00:00
Anna Xiu-MSFT 25,801 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

How to fix debug button on C#, when it displays "Start" instead of windows local debugger

Hello everyone been coding for some time on Visual Studio, and recently started learning C#. Starting yesterday, i created my first few projects to see if everything works ok, and it did until today. When I opened my projects from yesterday I noticed…

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,272 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.
943 questions
asked 2024-03-10T19:40:13.06+00:00
commented 2024-03-11T18:11:22.96+00:00
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.
10,272 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.
943 questions
asked 2023-10-05T08:57:22.1533333+00:00
Ladislav Hochman 25 Reputation points
answered 2024-03-07T10:35:26.3266667+00:00
Egbertn 6 Reputation points
1 answer

Trying to Attach debugger in VS 2022 to an HTML page

Hi, I am running an HTML page in Microsoft Edge from a VS 2022 (say it instance 1). In another VS 2022 (say it instance 2), I have attached a debugger to the MS Edge process that is running my HTML page. The html page URL is like this:…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,620 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.
943 questions
asked 2024-03-06T13:26:25.3066667+00:00
Muhammad Fasih Akbar 0 Reputation points
answered 2024-03-07T06:21:03.7833333+00:00
Tianyu Sun-MSFT 27,356 Reputation points Microsoft Vendor
3 answers

Visual Studio 2015 Community Edition - License Expired

Hi, I've signed in and using VS 2015 Community Edition for more than a year, but suddenly there is Expired License popup everytime I opened my VS 2015. I've tried all the tutorial provided in…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,620 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.
943 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.
970 questions
asked 2021-03-19T15:48:32.513+00:00
Leonardo Kevin Japri 1 Reputation point
commented 2024-03-04T14:16:11.0466667+00:00
anass nassim 41 Reputation points
1 answer

I need help to be able to use accentuation in letters within quotation marks

Hello, I need help using the accent in quotation marks. When I use this and debug my code, Visual Studio Community 2022 detects this as an error. And I don't know how I can solve this. I hope you can help me xD

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.
943 questions
asked 2024-03-01T01:43:37.72+00:00
Rafael Fernandes 0 Reputation points
edited an answer 2024-03-03T23:33:05.5366667+00:00
Mahmoud Ashraf Mahmoud Eid Elsayed 20 Reputation points
4 answers

VS 2022: Edit and continue isn't working.

Since recently upgrading to VS 2022, I cannot edit when in debug/break without being prompted: Edits were made which cannot be compiled. Changes won't be applied until the compile errors are fixed. Refer to the Error List Window for further details. …

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.
943 questions
asked 2022-04-04T14:05:28.113+00:00
Kipp Woodard 6 Reputation points
commented 2024-03-02T11:54:01.4766667+00:00
Carplay auto 0 Reputation points
1 answer

CS5001 Program does not contain a static 'Main' method suitable for an entry point

I developed ASP.NET website for five years. Recently I upgraded to VS2022 recent release, then R-Click on the project name in Solution Explorer I ran "Analyze and Code Cleanup". Now, I get a build error "CS5001: Program does not contain a…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,266 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,620 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.
943 questions
asked 2024-02-27T11:49:12.7533333+00:00
Noorann Tech 0 Reputation points
commented 2024-02-29T06:13:09.45+00:00
Anna Xiu-MSFT 25,801 Reputation points Microsoft Vendor
1 answer

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.
4,620 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,272 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.
943 questions
asked 2024-02-27T16:42:58.3133333+00:00
Dante Santos 0 Reputation points
commented 2024-02-27T22:03:24.75+00:00
Michael Taylor 48,486 Reputation points
3 answers

Attach to process In Visual Studio 2022

I just recently started VS coding in C# with Project type: ConsoleApp I use.NET 8.0, or whatever it's called because it's the newest version. I created my first project and wrote the basic "Console.WriteLine("Hello World");" I try…

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,272 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.
943 questions
asked 2024-02-20T02:14:05.06+00:00
Vortex Studios 0 Reputation points
answered 2024-02-26T07:39:20.47+00:00
Tianyu Sun-MSFT 27,356 Reputation points Microsoft Vendor
1 answer

Debugging Blazor Web Assembly app in Visual Studio

Hi, I am using Visual Studio 2022 professional version 17.7.4 (64 bit) I have created a blazor web assembly project with individual user accounts. When trying to debug Blazor application at first it worked but then once It stopped hitting breakpoints…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,186 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,395 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,620 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.
943 questions
asked 2024-02-23T14:30:27.26+00:00
Piyush Meshram 20 Reputation points
edited an answer 2024-02-26T06:12:36.6933333+00:00
Ruikai Feng - MSFT 2,526 Reputation points Microsoft Vendor
1 answer

I keep having issues with the dependent assemblies of Azure.AI.FormRecognizer.4.1.0 in visual studio c# project

WARNING! There was an error parsing the document Hello, I'm trying to test the Azure.AI.FormRecognizer.4.1.0 in visual studio .net framework 4.8.1 library project solution. Now I've the version 6.0.0.1 of System.Diagnostics.DiagnosticSource 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.
4,620 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.
943 questions
asked 2024-01-30T17:02:19.7566667+00:00
Diallo, Mouhamadou S 0 Reputation points
commented 2024-02-22T15:22:16.6+00:00
Michael Taylor 48,486 Reputation points
1 answer

VS 2022 debugger has gone to useless

So yesterday I had a Null Exception and it would fire even in a try. Now when I get an exception i get the following: | | ||Name|Value|Type| ||teamRoster|Local variables and arguments are not available in '[Exception]' call stack frames. To obtain…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,620 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,895 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.
943 questions
asked 2024-02-22T14:25:22.1233333+00:00
Lloyd Sheen 1,386 Reputation points
answered 2024-02-22T15:21:10.7+00:00
Lloyd Sheen 1,386 Reputation points
1 answer

How to fix that running and build error in the visual studio community 2022

**Severity Code Description Project File Line Suppression State Error Project "C:\Program Files\dotnet\packs\Microsoft.Maui.Sdk\8.0.3\Sdk\AutoImport.props" was not imported by "C:\Program…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,620 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.
173 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.
943 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.
329 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.
970 questions
asked 2024-02-22T10:26:52.3333333+00:00
ANOJAN .T 0 Reputation points
answered 2024-02-22T10:26:52.3366667+00:00
Q&A Assist
9 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.
4,620 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.
943 questions
asked 2022-02-07T07:03:40.79+00:00
GHANASHYAM SATPATHY 301 Reputation points
edited a comment 2024-02-20T10:51:16.1066667+00:00
MatthiasBrucklacher-9640 0 Reputation points