All Questions
837 questions
0
votes
0
answers
44
views
Issues testing / debugging a taskQueue
I am building website with a donation system for a charity as a pro bono project. After a user gives a memorial donation, a tribute PDF is to be generated and sent to the recipient.
I have a unit test ...
0
votes
0
answers
79
views
How to Debug Angular Production Code Integrated with ASP.NET?
I’m currently working on a project where the front-end is built using Angular 16, while the back-end is in ASP.NET
The challenge I’m facing is debugging the Angular production code integrated within ...
0
votes
1
answer
378
views
Stop Visual Studio sending debug console to background
Create a dotnet Console app in Visual Studio. Hit run in debug (F5) the console starts and remains "in front of" Visual Studio.
Create a AspeNetCore app and debug with one of the http/https ...
0
votes
1
answer
1k
views
Debugging while using dotnet watch
I have a problem with settings the correct launchsettings to enable both hotreload and debugging at the same time,
having the following profile works fine with tracking required cshtml changes but ...
0
votes
1
answer
53
views
Issue in Visual Studio when doing activity in aspx page
When I select any option from Dropdown list debugger getting hit each time
This is the place where debugger getting stop, but there is no breakpoint added
This issue is happening each time I select ...
0
votes
1
answer
84
views
Easy writeline for debugging in Visual Studio
Does there exist some easy to use solution to just do a writeline for debugging in the output window in Visual Studio. I know about Trace.WriteLine and Debug.WriteLine, but they seems to only work in ...
1
vote
1
answer
74
views
Why does Visual Studio sometimes disallow code from continuing after an error?
When Visual Studio breaks on an unhandled error in console applications, it will not let execution continue normally so you are forced to address the error in some way (such as setting a value in the ...
8
votes
2
answers
4k
views
What settings does "Disable managed optimizations and restart debugging" actually change in Visual Studio?
During a Visual Studio 2022 debugging session I was debugging some ASP.NET internal code using source link and the Microsoft symbol servers, and I was unable to view a variable because it had been ...
0
votes
1
answer
217
views
Is there a way in Visual Studio and ASP.NET to stop on the first line being executed after attaching to a process
I am developing an ASP.NET application, and sometimes it's a consuming time process to find the exact line of code that will execute at the server after the user makes an action in a form (clicking ...
1
vote
1
answer
1k
views
VisualStudio Debug not working on Edge and Chrome. Any clue?
I'm using VisualStudio (2022) for many time for web development being able to debug correctly in VS IDE. This week, when I run my site with debug enabled both Edge and Chrome cannot open any files (...
0
votes
0
answers
845
views
Visual studio 2022 javascript debug enabled not working with chrome
Using visual studio 2022 V17.5.2
when i disable javascript debugging, chrome works fine,
but when i enable javascript debug, chrome doesn't launch the site, it just stays loading
enter image ...
2
votes
3
answers
16k
views
VS 2022: Breakpoint will not currently be hit. No symbols have been loaded for this document
I have a VS 2022 solution with a WPF client and ASP.NET backend and when I put breakpoints in the backend web services they have the yellow tag with a message:
Breakpoint will not currently be hit. ...
0
votes
1
answer
750
views
Start ASP.NET Core API locally on specific URL like localhost:port/root/
I have 2 ordinary ASP.NET Core APIs.
When I run API in debug mode in Visual Studio it starts on https://localhost:1234/ (1234 is random port here).
I want to run these 2 APIs locally with URLs https://...
0
votes
1
answer
502
views
Visual Studio 2017 throws error on debugging an ASP.NET MVC application
I am setting up my new workstation (Windows 10 Pro) with my ASP.NET projects with Visual Studio 2017. I have enabled local IIS and the project throws a timeout error while trying to debug the project.
...
0
votes
1
answer
137
views
ASP.NET how to debug mobile version?
I am working with a platform on ASP.net that does not have a native mobile version.
I am tasked with debugging a problem that is only for mobile users however searching the codebase for "mobile&...