1,104 questions with Developer technologies | Visual Studio | Debugging tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

My antivirus deleted my .exe file inside of the debug folder

My antivirus deleted my .exe file inside of the debug folder is there a way to create a new .exe file?

Developer technologies | Visual Studio | Debugging
Developer technologies | C++
Developer technologies | Visual Studio | Other
asked 2021-06-11T14:52:41.33+00:00
Ardiw 21 Reputation points
commented 2021-06-11T17:17:24.257+00:00
Barry Schwarz 3,746 Reputation points
1 answer

Linker errors and impossibility to debug after visual studio update

I have run an update of Visual Studio 2019 from version 16.8.3 to 16.9.5. Since then I have big problems! When building a C++ project (v142) I get a lot of linker warnings: warning LNK4099: PDB 'XY.pdb' was not found Debugging the project is no…

Developer technologies | Visual Studio | Debugging
Developer technologies | Visual Studio | Setup
Developer technologies | Visual Studio | Other
asked 2021-05-14T05:36:20.22+00:00
Markus Forrer 1 Reputation point
answered 2021-06-11T08:44:04.657+00:00
Tianyu Sun-MSFT 34,451 Reputation points Microsoft External Staff
1 answer

Error setting up debug mode with CMake in Visual Studio Code

I'm currently using Visual Studio and CMake to run my .cpp codes. I have been able to compile my .cpp codes. My issue is that when I hit Ctrl + Fn + F5 to launch debug mode, I get the following error: My launch.json is as follows: Here…

Developer technologies | Visual Studio | Debugging
Developer technologies | C++
Developer technologies | VB
Developer technologies | Visual Studio | Other
asked 2021-06-10T20:07:20.67+00:00
irshadahamdok 6 Reputation points
answered 2021-06-11T02:49:31.83+00:00
PengGe-MSFT 3,381 Reputation points
1 answer

Running from Visual Studio VS Publish

When I run my application from Visual Studio 2015, it works perfectly, but when I publish, then I open my application in the same server I found some issues related to date. In Fact I found the date format in different

Developer technologies | Visual Studio | Debugging
Developer technologies | Visual Studio | Setup
Developer technologies | Visual Studio | Other
asked 2021-06-10T10:42:43.417+00:00
ambersariya121 1 Reputation point
answered 2021-06-11T02:44:41.927+00:00
Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
4 answers One of the answers was accepted by the question author.

Don't break on handled exceptions

How do I make Visual Studio 2019 NOT break on all user-handled exceptions? I'm working in C++ if that matters.

Developer technologies | Visual Studio | Debugging
asked 2021-02-09T20:47:51.627+00:00
Greg Reese 26 Reputation points
accepted 2021-06-10T20:13:05.987+00:00
Greg Reese 26 Reputation points
2 answers

Supported Architecture in Project Options is only x86-64

Hi, In my Visual Studio for Mac, I have a Xamain.iOS project. I have selected the Configuration to run as Debug iPhone Simulator | iPhone 11 iOS 14.5 Now when I goto Project Options | iOS Build | Supported Architectures | It only shows 1 option…

Developer technologies | Visual Studio | Debugging
Developer technologies | Visual Studio | Other
asked 2021-06-10T04:13:10.197+00:00
Lalit 101 Reputation points
answered 2021-06-10T06:25:51.567+00:00
cheong00 3,486 Reputation points Volunteer Moderator
2 answers

vs 在win10上调试经常未响应

Developer technologies | Visual Studio | Debugging
asked 2021-06-09T08:19:47.35+00:00
栋栋 王 1 Reputation point
answered 2021-06-10T03:34:01.257+00:00
Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
0 answers

Can more than 1 DebuggerTypeProxyAttribute be applied to a class to display 2 different debug views of same class object?

From definition https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.debuggertypeproxyattribute?view=netframework-4.6.1 I can see that single class/struct can have multiple DebuggerTypeProxyAttribute. But If I apply multiple…

Developer technologies | Visual Studio | Debugging
Developer technologies | VB
asked 2021-06-09T03:55:01.843+00:00
Abhijit Damle 1 Reputation point
0 answers

Visual Studio Remote Linux Cmake, shared drive

I am doing remote development work on a RHEL server, in which my windows machine. Basically my Linux "home" directory is mounted as a drive on my windows dev machine. The project is a CMAKE based project with a lot of libraries added from,…

Developer technologies | Visual Studio | Debugging
asked 2021-06-08T21:57:41.527+00:00
David Heitbrink 1 Reputation point
2 answers

Browser debugger showing code text and not compiling program

Hello all, I am relatively new to Visual Studio, but not programming. Debugging is causing a problem for me that I have been working on for quite some time. Specifically, my debugger window (Microsoft Edge) is just showing code text and not running my…

Developer technologies | Visual Studio | Debugging
asked 2021-06-02T15:42:44.113+00:00
rms2256 1 Reputation point
commented 2021-06-08T02:00:58.47+00:00
PengGe-MSFT 3,381 Reputation points
0 answers

Sometimes Publish System fails and we have to delete the bin folder to publish

Hello, I am not very familiar with this field, but I will try to explain the issue in detail. Sometimes after publishing the changes are not available in live environment. We have to manually delete the bin folder and publish it again to fix…

Developer technologies | Visual Studio | Debugging
Developer technologies | Visual Studio | Other
asked 2021-06-02T20:13:02.227+00:00
Dana Kuveljic 1 Reputation point
commented 2021-06-04T20:02:22.527+00:00
Dana Kuveljic 1 Reputation point
0 answers

Visual Studio 16.10.0 - Xamarin Android debugging on physical device not working - setprop "debug.mono.extra" ""

Hi, I haven't recently used debbuging on a physical device for my Xamarin Android app. Normally I debug against the emulator devices and that works fine. The app is build for Android 6 to Android 11 and I tried already debugging with multiple…

Developer technologies | Visual Studio | Debugging
asked 2021-06-02T09:13:19.49+00:00
Markus Jessl 21 Reputation points
0 answers

Windows Forms Designer debugging in NetCore

We could not able to perform design time debugging in NetCore Windows Forms. We have tried to perform debugging as like we perform for .NetFramework but our source code cannot be able to debug at design time. We have followed the below steps. …

Developer technologies | Windows Forms
Developer technologies | Visual Studio | Debugging
asked 2021-05-07T13:24:56.917+00:00
Senthil Kumaran Rajan 1 Reputation point
commented 2021-06-02T08:29:45.927+00:00
Tianyu Sun-MSFT 34,451 Reputation points Microsoft External Staff
4 answers One of the answers was accepted by the question author.

VS IDE 2019 How to fix "Unable to start program...

Recently installed Visual Studio IDE 2019 version 16.10.0. I get no errors when BUILDING SOLUTION from the main.cpp file. But, when I run START DEBUGGING I get the error below. How do I fix this?: png titles: Debug Error Message Properties…

Developer technologies | Visual Studio | Debugging
asked 2021-05-31T16:57:18.743+00:00
m robot 21 Reputation points
answered 2021-05-31T19:16:51.067+00:00
m robot 21 Reputation points
0 answers

procees explorer for debugging js wdio

I want to know if learning to use process explorer and reading the book windows internals will help me debugging js program. internally the javascript is called used nodejs, and this process is calling anoter one, then i have two global variables that…

Developer technologies | Visual Studio | Debugging
asked 2021-05-31T12:41:21.717+00:00
limboPro 1 Reputation point
1 answer

Setting Environment Variables in Visual Studio Launch Settings Using Host Environment Variable

We have a need to do something like the following with environment variables in our launchSettings.json file: "SOME_ENV": "${env.SOME_HOST_ENV}/someVal" When I get the environment variable at runtime, I get SOME_ENV =…

Developer technologies | Visual Studio | Debugging
Developer technologies | Visual Studio | Other
asked 2021-05-28T23:18:35.243+00:00
cw 1 Reputation point
answered 2021-05-31T03:42:19.487+00:00
Tianyu Sun-MSFT 34,451 Reputation points Microsoft External Staff
1 answer

Problem when wanting to edit code in Visual Studio 2019

When I double click on unity to edit the script in visual studio 2019 it appears like this, I tried everything and I can't find anything on the internet

Developer technologies | Visual Studio | Debugging
Developer technologies | Visual Studio | Other
Community Center | Not monitored
asked 2021-05-04T16:03:43.18+00:00
TheSajor 1 Reputation point
answered 2021-05-27T22:20:09.017+00:00
Anonymous
1 answer

Reason of issue

Hi, Can you have to Stacktrace got below? Unhandled Exception: System.Runtime.InteropServices.COMException: Creating an instance of the COM component with CLSID {0006F03A-0000-0000-C000-000000000046} from the IClassFactory failed due to the…

Developer technologies | Visual Studio | Debugging
Developer technologies | Visual Studio | Other
Developer technologies | C#
asked 2021-05-26T09:05:17.653+00:00
Peter_1985 2,736 Reputation points
commented 2021-05-27T06:15:40.687+00:00
Timon Yang-MSFT 9,606 Reputation points
4 answers

VS 16.9.3 publish tab loading forever

Hi, Whenever I try to publish a project I get a black screen with a loading wheel that doesn't go away. I tried re-installing Visual Studio but the problem persists. How can I solve this issue?

Developer technologies | Visual Studio | Debugging
Developer technologies | Visual Studio | Other
asked 2021-04-01T11:47:01.09+00:00
User 21 Reputation points
commented 2021-05-26T19:10:22.097+00:00
AgilioC 1 Reputation point
0 answers

Azure App Service remote debugging fails to load modules

In the past I've never had any issues remote debugging my Windows base Azure Web App. It's been some time since I need to do remote debugging but I cannot get modules to load or breakpoints to be hit. I'm using VS 2019 (16.10.0) and it seems to connect…

Developer technologies | Visual Studio | Debugging
asked 2021-05-25T23:45:36.047+00:00
Troy Hughes 1 Reputation point
commented 2021-05-26T03:34:43.59+00:00
Tianyu Sun-MSFT 34,451 Reputation points Microsoft External Staff