Questions tagged [visual-studio-debugging]

Questions related to debugging methods and tricks in VisualStudio

2287 questions
0
votes
2 answers

Why VS 2022 can't debug ABP Framework template?

when I debug ABP Framework templates, the breakpoint never hit. I tryed 2 projects below: BookStore-Blazor-EfCore in https://github.com/PacktPublishing/Mastering-ABP-Framework ApiDemo in https://github.com/abpframework/abp-samples Both set…
Auzout
  • 31
  • 4
0
votes
1 answer

strange problem during debugging "no executable code of the debugger's target code type is associated with this line"

this program (i.e sum_remainder) computes the sum of remainders of each element of src[i]. this way: sum += src[i] % divisor this program doesn't have any error/warning based on the debugger (F5, using visual studio), but when I debug line by line…
0
votes
0 answers

Visual Studio Debugging Blazor WASM with browserlink active gives 20 seconds timeout

When debugging Blazor in Visual Studio 2022 (17.5.1) it times out for about 20 seconds when the page i loading the first time or if you reload the page when browserlink is activated. This makes the browser wait until it can render the page. If…
0
votes
1 answer

Winforms app runs fine from bin/debug or bin/release, but not outside

I have developed a Winforms C# app (.NET Framework 4.8), which used to run fine. Last change, I decided to add a Map control using Gmap.NET. At first everything looked fine, in debug, so gave it a go, and built a release version (IMPORTANT NOTE: my…
0
votes
1 answer

bundling failed: Error: Unable to resolve module

Error: Unable to resolve module cldr-data/supplemental/currencyData from src\services\g11n\models\cldr-utilities.js: cldr-data/supplemental/currencyData could not be found within the project. After merging the latest PR I am getting this error…
0
votes
2 answers

Is it possible developing VSTO application without purchase Excel?

Microsoft SQL server has special pack for developers, but Excel has no. My customer has legal Excel, but I'm developer, not end-user and I have no legal Excel in my computer. There is a case with virtual machine, but sharpness of font is and…
0
votes
1 answer

Visual Studio debugger memory search not working

When I try to debug my program, I want to look at the memory where its stored, but when I search for it, theres nothing stored. Example: aVar byte 23d When I debug and search through the memory 1 window, I would type &aVar. I'd assume it'd take me…
0
votes
0 answers

How to debug xmm register in visual studio?

I am studying MASM32, and I am learning about xmm, ymm registers. I wanna debug xmm registers with its address (like ebp, esp, eax and so on), but I can't find any debug tools and good methods in visual studio. How can I get the address of xmm…
0
votes
1 answer

Run an executable in WSL from a Visual Studio launch profile

In Visual Studio in Windows I can create a launchSettings.json profile which starts up an executable I specify and then attaches to it. Is it possible to do the same with an executable in WSL? I'm writing an extension to a Linux program. The…
0
votes
1 answer

VS2022 17.4.4 Community debugger with older compiler toolsets not showing variable values on hover

I am using visual studio 2022 for daily development, I have binaries that are tied to older libraries or platforms, so I set the platform toolset property to an older version. But it's not showing the variable values on hover. It works if…
0
votes
1 answer

Visual Studio 2022 - .NET 4.5 MVC Web app - very slow to load when compilation debug=true

On Visual Studio 2022, when debugging .NET 4.5 MVC Web app, it takes MINUTES to load the website. When launching the website for debug, I can see in the output console, the loading and unloading of lots of dlls, from GAC, temp folder, etc, and it…
0
votes
0 answers

Multiple Projects in VS2022 pro Fail to start

I have a solution that consists of a console based app (webApi) .Net 7 and an Angular 14 web app. In the solution Start up I have selected Multiple projects and have both set to 'start' with the WebApi project being the first to start. When I run…
bilpor
  • 3,467
  • 6
  • 32
  • 77
0
votes
1 answer

Debug url vs Project url

My aspx pages arent found when debugging. ASP.NET Web Application using aspx pages (not MVC). I have the following HTML code:
CJR
  • 21
  • 7
0
votes
0 answers

Visual studio not able to debug native code referenced from C#, the breakpoint will not be currently hit, no symbols have been loaded for document

I followed all the instructions mentioned on the following page to enable native debugging. https://learn.microsoft.com/en-us/visualstudio/debugger/how-to-debug-managed-and-native-code?view=vs-2022. However Visual studio 2022 is still showing the…
Sameer Joshi
  • 329
  • 3
  • 16
0
votes
0 answers

Debugging both Angular Front End and .NET Core Back End

I have to maintain an Application where Front End is done using Angular and Back End using .NET Core/ASP.NET Core C# Controllers. Problem is that Front End and Back End are not put to their own directories like…
ccccccc
  • 99
  • 3
  • 9