938 questions with Visual Studio Debugging tags

Sort by: Updated
1 answer

Windbg shows info dialog that it cannot open MFC code from devdiv.visualstudio.com

Windbg show this info dialog with below message when single stepping through MFC code: The file…

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,527 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.
938 questions
asked 2023-01-31T07:31:16.9433333+00:00
Dev Stability 7 Reputation points
edited the question 2024-04-25T06:24:00.65+00:00
Dev Stability 7 Reputation points
2 answers

How to fix error MSB4057 The target "ComputeLinkImportLibraryOutputsForClean" does not exist in the project

I am trying to make a game and everytime I build my solution this error pops up I am using the following NuGet Packages SDL SDL_image.h SOIL Box2D OpenAL.Soft GLM Boost I am also using the following libraries cpptoml FastNoiseLite ImGUI

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,604 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,527 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.
938 questions
asked 2024-04-12T08:55:52.2633333+00:00
Veritum 5 Reputation points
edited an answer 2024-04-24T13:55:45.03+00:00
Gordon Elliott 0 Reputation points
1 answer

Calendar booking using datagridview

Good day everyone, I make a calendar booking using datagridview. Please take a look the image below. as you can see they have Book start and Book end. Now I want to put a color from date start to date end. Please take a look the image below. I don't…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,604 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,236 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.
938 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.
963 questions
asked 2024-04-21T12:46:33.5133333+00:00
Jay-R Hayashi 206 Reputation points
commented 2024-04-23T16:22:55+00:00
KOZ6.0 4,735 Reputation points
1 answer One of the answers was accepted by the question author.

How to add Tasks window to Debug Menu

Hi. I am trying to debug my Tasks but The Debug-> Windows menu Item does not have a selection for Tasks.

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,236 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.
938 questions
asked 2024-04-22T13:31:09.6033333+00:00
Ronald Rex 181 Reputation points
accepted 2024-04-23T14:54:47.3366667+00:00
Ronald Rex 181 Reputation points
1 answer

"How do I fix "The target process exited with code -2147023895 while evaluating the function..." error while debugging??

I have come across an issue and have yet to find a "fix" for the error. While debugging and ASP.NET application using C# an error occurs about "The target process exited with code -2147023895 while evaluating the function..."…

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.
938 questions
asked 2024-04-22T12:04:55.5966667+00:00
Quinones, Carlos 0 Reputation points
commented 2024-04-23T06:43:21.59+00:00
Tianyu Sun-MSFT 27,266 Reputation points Microsoft Vendor
1 answer

Build error because of user mapped section open

Severity Code Description Project File Line Suppression State Error Unable to copy file "obj\Debug\codeTest.exe" to "bin\Debug\codeTest.exe". The requested operation cannot be performed on a file with a user-mapped section…

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.
938 questions
asked 2024-04-16T19:54:37.9066667+00:00
Vijay Bhoski 0 Reputation points
commented 2024-04-22T14:12:24.0166667+00:00
Vijay Bhoski 0 Reputation points
5 answers

Visual Studio caughing up errors while I"m debugging - what brought this nuissance on Microsoft?

"The target process exited with code -2147023895.... If the problem happens regularly, consider disabling the Tools->Options setting Debugging->General->Enable property evaluation and other implicit function calls I unchecked this option…

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.
938 questions
asked 2023-05-26T02:21:58.36+00:00
Scot King 116 Reputation points
answered 2024-04-22T12:31:56.68+00:00
Quinones, Carlos 0 Reputation points
0 answers

Unhandled exception at 0x0056FC80 in Assignment7.exe: 0xC0000005: Access violation executing location 0x0056FC80.

Unhandled exception at 0x0056FC80 in Assignment7.exe: 0xC0000005: Access violation executing location 0x0056FC80. When I click build, it is successful but I keep getting this when im debugging! can someone help me fix this? .386 .model flat,…

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.
938 questions
asked 2024-04-18T05:14:21.8033333+00:00
Ethan Russell 0 Reputation points
edited a comment 2024-04-18T11:56:43.0233333+00:00
Viorel 112.1K Reputation points
1 answer

Code error when building Unreal Engine 5 Source Code in Visual Studio 2022

Hello! Preword: I’m a newbie in this and looking to get started out and learn as much as I can. I’m attempting to build the source code version of Unreal Engine 5 via Visual Studio and I’ve run into an error after building. Up to this point, I've…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,604 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.
938 questions
asked 2023-01-23T19:58:22.9833333+00:00
Matt Stein 5 Reputation points
commented 2024-04-18T08:50:54.9866667+00:00
航 许 0 Reputation points
1 answer

can not find path for sqlite db in Maui app

i try to create local sqlite db in maui app . private const string DbName = "SweetsShopDb.db3"; private static string DbPath => Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.LocalApplicationData),…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,604 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,862 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,236 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.
938 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.
328 questions
asked 2024-04-17T07:00:39.2033333+00:00
amr yakout 40 Reputation points
answered 2024-04-18T07:50:38.5666667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,291 Reputation points Microsoft Vendor
1 answer

How to get a ODBC 32-bit DB2 driver to Run in VS 2022

I am running VS 2022 and have a 32-bit ODBC DB2 Driver setup on my local environment. When I try to debug through my code and it tries to connect to the ODBC connection I am getting the following error: ERROR [IM014] [Microsoft][ODBC Driver Manager]…

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.
938 questions
asked 2024-04-17T19:14:40.3+00:00
Jason P 0 Reputation points
answered 2024-04-18T03:14:04.1633333+00:00
Anna Xiu-MSFT 25,626 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

how do i verify access?

My code couldn't run because i couldn't attach somthing and now im trying to reinstall this x64runtime and it couldnt download it for some reason

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,613 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,604 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.
938 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.
963 questions
asked 2023-12-19T21:02:15.08+00:00
Ilan Slavin 25 Reputation points
commented 2024-04-17T20:08:16.6+00:00
Pranshu Prajapati 0 Reputation points
1 answer

Local windows debug in visual studio not there?

I'm new to programming and wanted to set up a c compiler with visual studio. There's supposed to be a button 'Local Windows Debug' where you debug your program. That one is not there. How can I get that? (I'm not using Linux, but Windows 10)

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,604 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.
938 questions
asked 2023-04-14T21:12:54.4866667+00:00
Sarah Kay 0 Reputation points
commented 2024-04-17T02:45:39.4766667+00:00
Student Ed 0 Reputation points
0 answers

Why VB.Net projects that were working OK suddenly fails to start now?

Hi all, I have written many trial projects using VS 2013, VS 2019 and they were working fine for few years; Since the 1st week of March 2024, when I click "Start Debugging" / "Start without Debugging" any of those projects in Visual…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,568 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.
938 questions
asked 2024-04-11T09:06:20.93+00:00
VKSB 176 Reputation points
commented 2024-04-15T07:14:47.2466667+00:00
Jiachen Li-MSFT 26,506 Reputation points Microsoft Vendor
0 answers

VisualStudio debugger using older version of source files

Hi all; I just upgraded to the latest version of Visual Studio - 17.10.0 Preview 3.0 And the debugger is now showing me source files from several days ago in the debugger. These older version of the files don't exist anywhere on my system but it somehow…

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.
938 questions
asked 2024-04-11T23:05:31.24+00:00
David Thielen 2,256 Reputation points
commented 2024-04-13T14:00:35.0533333+00:00
David Lowndes 2,345 Reputation points MVP
1 answer One of the answers was accepted by the question author.

Inconsistent Window Focus Behavior: Debugging vs. Running Without Debugging

In my application, I have a MainWindow that inherits from System.Windows.Window. Within this MainWindow, there's a System.Windows.Controls.Button. Clicking this button triggers the opening of a second window, also inheriting from System.Windows.Window.…

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,236 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.
938 questions
asked 2024-04-06T20:02:00.2033333+00:00
Asya Yesayan 20 Reputation points
accepted 2024-04-10T11:08:24.3166667+00:00
Asya Yesayan 20 Reputation points
0 answers

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.
3,369 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,386 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,236 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.
938 questions
asked 2024-04-07T11:22:21.7633333+00:00
Finn Arildsen 16 Reputation points
commented 2024-04-08T02:24:20.6933333+00:00
Tiny Wang-MSFT 1,571 Reputation points Microsoft Vendor
3 answers

Visual studio 2022 is not responding ,technically stops responding when i want to run the codes

Hey guys . For the past week visual studio has been slow ,it takes forever to launch , it doesn't want to display forms (whenever i press the start run thing after coding it will just freeze after a while it will say visual is not responding maybe after…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,604 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.
938 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,155 questions
asked 2023-04-13T18:47:44.6733333+00:00
56140202 10 Reputation points
commented 2024-04-08T01:10:16.1933333+00:00
Ravi Wickramanayake 0 Reputation points
1 answer One of the answers was accepted by the question author.

IoTHub ingest function to azure digital twin (failed)

I have created a function app for iot hub ingest telemetry data to azure digital twin using visual studio 2022 and the function is successfully being published but the data is fail to deliver. The following is my function app code: The figure below is…

Azure Digital Twins
Azure Digital Twins
An Azure platform that is used to create digital representations of real-world things, places, business processes, and people.
219 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,257 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,115 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.
938 questions
asked 2024-04-03T01:54:09.4+00:00
TEE WEI KIAT 40 Reputation points
commented 2024-04-03T17:30:13.12+00:00
TEE WEI KIAT 40 Reputation points
1 answer

PDB file contains wrong file path

Hi, I was building the SmartStore application: https://github.com/smartstore/SmartStoreNETin debug mode to generate pdb files. The pdb file generated contains wrong file name Example: real path: src/Libraries/SmartStore.Core/Collections/MultiMap.cs path…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,369 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.
938 questions
asked 2024-04-02T12:09:09.27+00:00
Abhijith CV 0 Reputation points
answered 2024-04-03T13:56:13.4533333+00:00
RLWA32 40,286 Reputation points