Questions related to debugging methods and tricks in VisualStudio
Questions tagged [visual-studio-debugging]
2287 questions
0
votes
0 answers
Unbound breakpoints after launching vue app in nested directory structure
I'm new to Vue.js. I followed a tutorial on building a Vue project with a Django backend. I'm currently stuck with trying to debug the Vue side of things. I've followed the official debugging recipe and set up the necessary files, however, my…

kenshima
- 401
- 4
- 12
0
votes
0 answers
Visual Studio multi-project solution won't start Web API project when debugging
I have a Visual Studio 2022 solution with two projects.
One is an ASP.Net Core Web API project.
The other is a stand alone Angular TypeScript application.
On the solution properties page I have it configured to start "Multiple StartUp Projects"…

Sam
- 4,766
- 11
- 50
- 76
0
votes
0 answers
There is some confusion about the visual studio debug terget options
I see three options in my Visual Studio Debug Target; I know what IIS and WSL are, but there is an option that matches the name of my solution that I don't know about; what is it?
When I run with that option, the output like this

Ridwanul Islam
- 36
- 3
0
votes
1 answer
Is it possible to use the Visual Studio debugger from command line?
Im a beginner in C++ and I use NeoVim as my editor. I use MSVC++ build tools for compiling my programs. But when it comes to debugging, I don't want to open Visual Studio just for debugging. Is there any way I can debug my program from command line…

Ishida
- 3
- 3
0
votes
1 answer
VS2019/C++: cannot open external library .cpp files
I am trying to build a simple/demo C/C++ application that is able to use functions from Optix 7. In order to do so:
-Under Configuration Properties > C/C++ > General,I added the Optix include directory to the Additional Include Directories.
-Under…

fatecasino
- 49
- 2
- 7
0
votes
1 answer
Microsoft Visual Studio 2022 "start without debugging" and "start debugging" buttons are greyed out
I just installed visual studio 22 on my MS windows 11 computer and I am trying to execute my first project.
I noticed that the "start without debugging" and "start debugging" buttons are greyed out. Surprissingly, the solution explorer is recording…

Riri-bea
- 11
- 2
0
votes
1 answer
Xamarin Forms iOS not debugging after deploying to phyical device
So for months now I have been struggling to debug after deploying from my Visual Studio (PC) to my mac server (Mac Mini M1). The application completely builds and begins the deployment process by loading assemblies while the splash page displays on…

Dante Carter
- 11
- 2
0
votes
2 answers
How can I use Edge in VS Code debugging and make it open private (incognito) window always?
This is the launch.json
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
…

Aladdin Mhemed
- 3,817
- 9
- 41
- 56
0
votes
0 answers
How can I fix the debugger issue on VS Code: pydev debugger: critical: unable to get real case for file?
I am using on my iMac VS Code for scripting with Python in a conda environment. Every time I start the debugger I get the message I mentioned in the title. My project is in the following directory: ~/Documents/Universität/Some University/Master/Some…

Lysapala
- 80
- 9
0
votes
1 answer
How can I turn off debugging in Visual Studio app
I am trying to upload the app to the Play Store. But when I upload the bundle I get the message that it is debuggable. I'm using Visual Studio 2022. In Android Options there is a check box to enable debugging, but I've unchecked it. And rebuilt the…

Ron
- 2,435
- 3
- 25
- 34
0
votes
0 answers
Debugging a service with visual studio
In my current C++ project I am using visual studio 2019. The output binary sat target.exe is used as a service and is created using sc.exe create command.
When we run this service it crashes immediately. So I need to debug this service. I was…

Rakesh Mehta
- 35
- 5
0
votes
1 answer
Subprocess with visual studio debugger attached to process causes a problem in python project
I'm facing a very annoying issue with Visual Studio 2022. Here's how to replicate it.
Folder contents:
test-debugpy-issue
| test-debugpy-issue.sln
|
\---test-debugpy-issue
cli.py
test-debugpy-issue.pyproj
…

user32882
- 5,094
- 5
- 43
- 82
0
votes
0 answers
VS2019 Edit And Continue error "Edits were made which cannot be compiled" for custom file generating cpp
I am using custom language say FileName.xyz which on separate tool precompilation/preprocessing temporarily generates C++ files FileName.cpp, which in turn is built using VS build to an executable FileName.exe(and PDB for temporary C++ files…

Peeyush
- 31
- 6
0
votes
1 answer
Debugging and editing in project .NETStandard not working
I use Visual Studio 2022. In a .NET Standard project, during debugging, I'm trying to edit a simple code (eg. set int a = 1), but it doesn't work and I get an error
Unable to set next statement. The method or operation is not executed
However, in…

Thofro
- 1
0
votes
0 answers
Edit and Continue not working for custom file generating Cpp, error .idg not in synch with .pdb
We are using custom language say FileName.xyz which on precompilation preprocessing by separate tool XYZConverterCPP.exe temporarily generates C++ files FileName.cpp, which in turn is built to an executable (and PDB for temporary C++ files…

Peeyush
- 31
- 6