947 questions with Visual Studio Debugging tags

Sort by: Updated
1 answer

Visual Studio debugger will not step into code of a separate project that builds to a dll (within the same solution)

I have two projects in one solution. One compiles into an exe which depends on the other project that compiles into a dll. When I try to step into a function from the dll that is called within the exe code, it skips over it. My pdb file for the dll is…

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,544 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.
947 questions
asked 2024-05-09T23:39:57.78+00:00
jbl 0 Reputation points
answered 2024-05-11T09:48:15.93+00:00
RLWA32 40,771 Reputation points
1 answer One of the answers was accepted by the question author.

VS unable to debug unhandled exception

I have configured VS to debug all types: However, I still get this prompt when an app crashes: I just want to get a clue about where this crash comes from. All the code of the app is in try-catch blocks. Could anyone offer a tip?

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.
947 questions
asked 2024-05-10T13:52:03.9+00:00
Hong 1,051 Reputation points
accepted 2024-05-10T22:13:37.9666667+00:00
Hong 1,051 Reputation points
0 answers

How to stop Windows Task Manager from interfering with VS build

I often get the following error after an app under debugging crashes: DEP1000: Cannot copy file "E...\MY_APP\bin\x64\Debug\MY_APP.exe" to layout "E...\MY_APP.UWP\bin\x64\Debug\AppX\entrypoint\MY_APP.exe". IOException - The process…

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.
947 questions
asked 2024-05-10T15:55:53.4466667+00:00
Hong 1,051 Reputation points
0 answers

I tried debugging .NET application but getting SSL CERT warning. How do I fix it?

I tried debugging .NET application in MS VS 2022, but getting SSL CERT warning. Should I install the certificate? Is it mandatory?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,415 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.
947 questions
asked 2024-05-10T14:53:45.1666667+00:00
Rishitha 0 Reputation points
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,643 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.
947 questions
asked 2022-02-07T07:03:40.79+00:00
GHANASHYAM SATPATHY 301 Reputation points
commented 2024-05-10T05:46:52.09+00:00
Dahye Hwang 0 Reputation points
2 answers

Visual Studio problem

I am using Visual Studio 2019. And in the toolbox, there is this thing called "NavigationMenu". But I don't see it in the toolbox, and I need it for my project. Please help me

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,838 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,703 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,643 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,308 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.
947 questions
asked 2024-05-04T04:29:26.4733333+00:00
Hamoude Assaf 0 Reputation points
edited an answer 2024-05-09T07:11:46.7066667+00:00
Anna Xiu-MSFT 26,146 Reputation points Microsoft Vendor
1 answer

Visual studio download not starting

Whenever I try to download Microsoft Visual Code it redirects me to the download page but the download does not start. I am using a VPN using the StealthVPN protocol and it won't start even when I turn the VPN off. I am also using Firefox.

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.
947 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.
971 questions
asked 2024-05-01T11:42:28.09+00:00
luka talevski 0 Reputation points
commented 2024-05-09T03:27:32.85+00:00
Anna Xiu-MSFT 26,146 Reputation points Microsoft Vendor
0 answers

visual studio 2022 error mt1007 failed to launch application

I recently upgraded windows visual studio to 17.5.4 Windows Xamarin Forms to 5.0.0.2545 When I try to debug the Xamarin iOS application I get the following: error MT1007: Failed to launch the application…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 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.
947 questions
asked 2023-04-18T19:51:51.3333333+00:00
Seth Isaacks 51 Reputation points
commented 2024-05-08T11:42:52.1466667+00:00
MartinMilan 0 Reputation points
3 answers One of the answers was accepted by the question author.

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,643 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,308 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.
947 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.
971 questions
asked 2024-04-21T12:46:33.5133333+00:00
BgnerNprg207 226 Reputation points
accepted 2024-05-03T10:28:21.58+00:00
BgnerNprg207 226 Reputation points
6 answers

How to target .NET Framework 4.0 in VS 2022 on Windows 11?

Working on some old projects targeting .NET Framework 4.0. I used VS 2022 to open the solution and was told to install 4.0 targeting pack. I can't find the download link on the dotnet website, nor the installation option in Visual Studio Installer. …

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,308 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,126 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.
947 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,283 questions
asked 2022-09-05T07:41:23.313+00:00
Lee Feng 136 Reputation points
edited a comment 2024-05-02T07:39:18.2866667+00:00
Fabrizio Cioni 0 Reputation points
2 answers

Debug profile does not exist - How to get it?

I am new to Visual Studio 2019 and am attempting to make a data input application using a Windows Form App. I keep getting an error that won't let my app launch saying that "The debug executable {file path to where the debug executable should…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,838 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.
947 questions
asked 2022-02-24T22:16:47.297+00:00
Justin Cooley 6 Reputation points
commented 2024-05-01T11:40:49.7966667+00:00
abofazl jalil 0 Reputation points
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.
947 questions
asked 2024-04-17T19:14:40.3+00:00
Jason P 0 Reputation points
commented 2024-05-01T05:44:57.2833333+00:00
Anna Xiu-MSFT 26,146 Reputation points Microsoft Vendor
1 answer

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.
947 questions
asked 2024-04-11T23:05:31.24+00:00
David Thielen 2,281 Reputation points
answered 2024-04-30T13:43:48.62+00:00
David Thielen 2,281 Reputation points
0 answers

Error C3640 in VS22 DLL project

No matter what I try I keep getting a C3640 Error: Error C3640 'DllMain::IslandPortal31::~IslandPortal31': a referenced or virtual member function of a local class must be defined Hopeing someone can help Header File #ifndef __ISLANDPORTAL31_H #define…

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,544 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.
947 questions
asked 2024-04-28T07:39:03.8933333+00:00
Copycat 0 Reputation points
edited a comment 2024-04-30T02:22:12.95+00:00
Minxin Yu 10,121 Reputation points Microsoft Vendor
1 answer

how fix the Problem in VSC "The current AL extension package can only debug Dynamics 365 Business Central servers with a version greater than, or equal to version 20. Please use a previous AL extension package to debug a server with version 8.1

BC Version 19.6, Application 19.0.0.0, Runtime 8.0, target OnPrem Debugging is enabled on Server

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.
947 questions
asked 2024-04-27T06:37:08.92+00:00
Frank Pienkny 0 Reputation points
answered 2024-04-29T07:26:07.1133333+00:00
Tianyu Sun-MSFT 27,431 Reputation points Microsoft Vendor
1 answer

unit test in visual studio for d365 fo using x++

I create the unit test in visual studio 2022. create the employ class and employTest class. the test class extends the sysTestcase and i add the test method the write in below: [SysTestMethodAttribute] void testName() { // Verify that the employee name…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,643 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.
947 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.
971 questions
asked 2024-04-26T05:12:47.0533333+00:00
Gokulraj Chandrasekaran 0 Reputation points
edited the question 2024-04-26T06:29:37.53+00:00
VarunTha 3,620 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

How to change the mouse cursor color in Visual Studio 2022?

Hi to every one, I would like to change the color of the mouse cursor on Visual Studio Community 2022, as I have installed the "dark" theme, which I really like, but the mouse cursor is practically invisible. How can I go about changing it? I…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,643 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.
176 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.
947 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.
971 questions
asked 2023-03-15T16:31:08.15+00:00
Matteo Tomasetti 25 Reputation points
commented 2024-04-25T20:34:56.4766667+00:00
Juan Pablo Ramirez 0 Reputation points
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,544 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.
947 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,643 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,544 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.
947 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 5 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,308 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.
947 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