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…
Program output is correct, but VS reports an error during step-by-step debugging
The C++ code snippet is: class A { public: A(const std::string& ss, const std::string& tt) : s(ss), t(tt) {} void func1() const { std::cout << s; } void func2() const { std::cout << t; } using Action = void (A::*)()…
How to get rid of this annoying thing?
How to get rid of this annoying thing (red circled)?
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 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…
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?
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…
![](https://techprofile.blob.core.windows.net/images/KdhqvXnr5EmAUA3EPTdX5w.png?8DAF17)
![](https://techprofile.blob.core.windows.net/images/KdhqvXnr5EmAUA3EPTdX5w.png?8DAF17)
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…
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.
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
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.…
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…
Exception: "Element Not Found" while calling StartDoc() in Visual Studio 2022 debugger
I am attempting to print from a Desktop application using the following APIs: StartDoc (...) StartPage (...) TextOut (...) When I run my application using Visual Studio 2022 Debugger, StartDoc() throws an exception as shown in the image below.…
97 Unresolved Symbols in glfw3.lib
Hello, I have been creating a project using OpenGL, namely glfw3.lib. I've done this before in another project, but this time it isn't working, and I cannot figure out the difference between this new project and the working one. The issue is…
How to use timer to automatically run JavaScript in WebView2.
Hello: For my project, I have to automatically run some JavaScript every minute in WebView2. Even I can manually click on the button to run the JavaScript and get the result, but I can’t figure out how to use timer to run the job automatically. …
How to select or use Visual Studio 2022 on Windows project to remotely copy and run dotnet code on Linux(arm64)
I've used the c++ remote linux, but I want to do the same thing with dotnet core on Raspberry Pi 5 or Linux? I want to compose code on Windows VS2022, and then have copied to, run and debug on target.
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…
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…
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…
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…