943 questions with Visual Studio Debugging tags

Sort by: Updated
0 answers

powershell debugging on vscode on macOS

Hi I newly started learning powershell. I want to write script. I installed visual studio code(1.86.0) on my macOS (14.2.1). I have also installed vscode extention of powershell. Powershell is installed on the terminal and works fine but I am not able to…

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
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,079 questions
asked 2024-02-18T08:10:55.6566667+00:00
Paresh Mhetre 0 Reputation points
edited the question 2024-02-18T08:11:46.86+00:00
Paresh Mhetre 0 Reputation points
0 answers

visual studio C++ starting with 478 errors in "external dependencies"

when i create a new C++ project, it starts with 479 errors in "external dependencies" when i run it, it askes if i would like to run the last successful build, if i select yes it errors with "unable to start program 'C:\users(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
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,537 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-16T08:28:28.81+00:00
bob hamtom 0 Reputation points
commented 2024-02-16T13:54:02.02+00:00
Tianyu Sun-MSFT 27,356 Reputation points Microsoft Vendor
2 answers

vs2013 - projects marked out of date caused by other projects touching .lastbuildstate file

VS2013: How do I keep a project from touching another's project lastbuildstate? I have 10 projects that have their lastbuildstate being touched by another project. I believe because the timestamps on the the .lastbuildstate don't match other other files…

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 2023-04-04T01:07:33.6933333+00:00
Morgan, Scot 0 Reputation points
answered 2024-02-15T05:16:31.5366667+00:00
Reza Shobeiri 0 Reputation points
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.
943 questions
asked 2022-03-05T01:02:44.72+00:00
Jingo Unchained 56 Reputation points
commented 2024-02-14T10:18:03.22+00:00
Michael Angelozzi 0 Reputation points
1 answer One of the answers was accepted by the question author.

Debugger Only Shows Integer Values As Hex, Not Base 10

Hello Folks: I'm using Visual Studio Community on Windows 10 Pro to develop C++ code. Yesterday my copy of Visual Studio learned a new trick when I'm debugging code. Any integer variable displayed in a watch window or being hovered over is displayed…

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-10T01:49:42.7+00:00
a_unique_name 381 Reputation points
commented 2024-02-10T07:19:30.01+00:00
a_unique_name 381 Reputation points
0 answers

how to fix 0xc000007b error while using wimlib

#include<iostream> #include<stdio.h> #include<comdef.h> #include<windows.h> #include<string> #include<tchar.h> #include<regex> #include"wimlib.h" #pragma comment(lib,"libwim.lib") using…

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-09T06:55:26.1766667+00:00
Never Gonna Give You UP 0 Reputation points
commented 2024-02-09T08:41:03.1366667+00:00
Tianyu Sun-MSFT 27,356 Reputation points Microsoft Vendor
1 answer

Visual Studio (2017 through 2022) Property Dialog not showing control Properties

Been working on a project and suddenly not able to access properties for controls, either usercontrol or basic/standard controls. When I first load the form from code (shift F7), rather than the toolstrip showing up, it shows the code that I was just…

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-06T22:37:02.4466667+00:00
Pat Sinclair 20 Reputation points
commented 2024-02-09T07:49:40.4266667+00:00
Tianyu Sun-MSFT 27,356 Reputation points Microsoft Vendor
1 answer

Unable to start debugging, Android, .NET MAUI, VS2022 Preview

I have problem with debugging Android app in .NET MAUI in VS2022 Preview 17.3.0 1.1. The project is not building. This error shows up to me: I can't find information about this error for VS2022.

.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 2022-06-02T09:12:21.593+00:00
zc 51 Reputation points
commented 2024-02-07T05:30:48.6866667+00:00
Billy Lim 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to disable auto break execution when using vsjitdebugger.exe

When using Visual Studio Just In Time Debugger (vsjitdebugger.exe) the debugger breaks execution of the attached program automatically on startup. How can I disable this? The debugger is paused in exe_winmain.cpp: extern "C" DWORD…

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-31T00:47:38.9633333+00:00
Trent Cooper 20 Reputation points
edited a comment 2024-01-31T22:02:22.1666667+00:00
Trent Cooper 20 Reputation points
3 answers One of the answers was accepted by the question author.

The error list of the current Visual Studio document keeps disappearing

The error list of the current document keeps disappearing I am in the middle of debugging Visual Studio and the error list of the current document keeps on disappearing. How can I prevent this? This keeps happening on and off, and after a new…

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 2021-10-08T00:08:28.913+00:00
tovia schlesinger 241 Reputation points
answered 2024-01-30T12:18:20.8066667+00:00
B.Laavanya 0 Reputation points
1 answer

The specified port is in use

Error.jpg When I try to debug my code in VS2022, I get the attached error. I have confirmed the only app that is using this port is VS2022, and only after I click the 'Play' button. I have tried restarting VS2022, restarting the computer, and even…

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-15T18:25:07.6166667+00:00
Christopher Holland 0 Reputation points
commented 2024-01-30T03:34:01.45+00:00
Anna Xiu-MSFT 25,801 Reputation points Microsoft Vendor
1 answer

Problems using VS200 remote debugger - not loading symbols. PE / COFF header issue

I'm building a C++ app in VS2022. I'm remote debugging a (in-house) dll that is loaded by the app. However, the symbols for the dll do not get loaded, as the symbol file does not match the source code. The issue seems to be the time and date stamp in the…

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++
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,537 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-29T12:31:40.91+00:00
answered 2024-01-29T15:26:10.27+00:00
7 answers

Program not running in Visual Studio 2019

Hello, I just installed Visual Studio 2019 onto my laptop and I can't run or debug anything since I installed the program. I am assuming I have nothing in my "solutions". Is that why nothing is working? I appreciate if someone can guide me…

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,537 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 2021-04-04T00:03:24.057+00:00
Hieu HO 1 Reputation point
answered 2024-01-27T13:57:11.5466667+00:00
مقصود احمدی 0 Reputation points
1 answer

Visual Studio 2017 - how to point debug symbols for diagsession generated on the other machine

I use Visual Studio 2017. I open diagsession file generated on other machine. Output window shows that symbols have not been loaded, for example: Symbols failed to load for C:\Workspace\App\libA.dll. Cannot find or open the PDB file. I have built…

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-03T13:16:34.757+00:00
Irbis 1 Reputation point
commented 2024-01-25T12:05:54.28+00:00
S Walsh 0 Reputation points
0 answers

Programmatically triggering MSBuild is giving build error for Edit & Continue /ZI property

I'm simulating custom debugger with Edit and Continue through VSExtension, so during live debug session, I'm halted at breakpoint, using dte, MSBuild etc. programmatically I will compile custom file generate FileName.obj and manually patch exe. …

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,537 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
asked 2024-01-23T06:54:45.3166667+00:00
Peeyush Chaurasia 0 Reputation points
commented 2024-01-25T08:37:54.4433333+00:00
Peeyush Chaurasia 0 Reputation points
1 answer One of the answers was accepted by the question author.

I need to reinstall VS every time the license runs out... why is this such a pita...

So.. like clockwork my license runs out and as I'm with several companies that uses Office 365 the sign-in leads to their SSO which doesn't allow for VS... The app doesn't let me go back and trying to log in via the browser doesn't work.. Trust me I…

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-20T20:37:19.25+00:00
Johan Englund 20 Reputation points
accepted 2024-01-22T10:08:03.9166667+00:00
Johan Englund 20 Reputation points
1 answer

Upgrade of build agents Azure DevOps Server 2020 to Azure DevOps Server 2022

Upgrade of Azure DEvOps Server 2020 to Azure DevOps Server 2022. We are proceeding with upgrade from one platform (one server) Azure DevOps Server 2020 to another platform (new server) Azure DevOps Server 2022. This is not in place upgrade but…

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-20T10:55:50.91+00:00
Velizar Todorov 0 Reputation points
edited an answer 2024-01-22T06:46:46.46+00:00
Tianyu Sun-MSFT 27,356 Reputation points Microsoft Vendor
0 answers

link error LNK2019 introduced by adding std::ofstream on windows VS2017

plf_algo_test_lib is the lib to be tested, which is linked to plf_algo_test(test project). The problem is when I added std::ofstream file("debugData.json") code in plf_algo_test_lib, I got the following link error from plf_algo_test. error…

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++
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,537 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-09T03:01:42.3066667+00:00
Qianyu 0 Reputation points
commented 2024-01-18T08:30:35.4866667+00:00
Minxin Yu 10,031 Reputation points Microsoft Vendor
1 answer

double.TryParse has bug ???

var number = "422.3262"; double.TryParse(number, NumberStyles.Float, CultureInfo.InvariantCulture, out double value); When I run the above code on the console program,the result is 422.3262 But when I run it on the asp.net program,the result is…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,395 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,267 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,273 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-12T06:08:45.4133333+00:00
man out 0 Reputation points
edited a comment 2024-01-17T10:07:33.2333333+00:00
QiYou-MSFT 4,306 Reputation points Microsoft Vendor
2 answers

Can't deploy UWP apps to HoloLens 2

I am trying to deploy a simple 2D UWP XAML app (not a holographic app made with Unity/Unreal) to my HoloLens 2. This used to work, but recently deployment has only worked intermittently, and then stopped working altogether. I have tried deploying…

Universal Windows Platform (UWP)
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
HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
382 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-11-18T21:42:23.59+00:00
Kevin Foley 6 Reputation points
commented 2024-01-12T23:37:55.2733333+00:00
Larry Aultman 0 Reputation points