All Questions
1,581 questions
0
votes
0
answers
30
views
Unable to debug .NET MAUI Android App in Emulator or on Device using Visual Studio 2022
I have been developing a .NET MAUI app for a couple years now and suddenly over the past couple of weeks (around 10 days) I have not been able to debug my app on a device or a emulator.
When I stop a ...
-1
votes
0
answers
24
views
Break on user-unhandled exceptions in async code in dotnet 9?
This is a question about an ages-old problem which, according to new developments, should have just recently received a solution, but the solution does not seem to work for me.
The ages-old problem:
...
0
votes
1
answer
43
views
JetBrains Rider debugger steps into Unity Package Cache instead of returning to user code
I'm using Rider 2024.3.6 and Unity 6000.0.34f1 on Windows 10.
When debugging a method that is attached to a Unity UI Button event, Rider behaves unexpectedly:
I place a breakpoint inside my method.
I ...
0
votes
1
answer
73
views
How to debug C# and .Net Projects on Emacs?
I'm trying to debug a .Net Core project. I'm using emacs lsp and dap mode. But when I run dap-debug I get the message:
Have you loaded the ‘coreclr’ specific dap package?
I just want to debug my ...
0
votes
1
answer
47
views
VSCode doesn't find sln file when debugging
I am trying to run a console app in debug mode using VSCode.
My .sln file is in a "src" folder (see https://github.com/cosmo0/arcade-manager).
I have multiple projects in the solution: a web ...
0
votes
0
answers
12
views
Visual Studio shows "The application is in break mode" instead of underlining the problematic code
VS - Break Mode
VS recently started showing (no matter which kind of error or where) the Break Mode Window upon encountering an exception instead of squiggling the problematic code section. How can I ...
0
votes
0
answers
78
views
Unable to use closures (actions, funcs) in dotnet debugger
I'm trying to debug a .net 8 C# project using Rider 2023.3 and I've run into a snag I've seen many times before. Using the interactive debugging prompt, whenever I try to evaluate an expression ...
-1
votes
1
answer
101
views
How can I debug IIS w3wp.exe in VSCode without running it as administrator?
I’m trying to debug an application hosted on IIS using VSCode, but I’m running into a permissions issue. When I open VSCode as a standard user, I cannot see the w3wp.exe process in the list of ...
0
votes
1
answer
49
views
F# debugger crashed due to StackOverflow inside `sprintf "%A"`
I have the following discriminated union type:
type Value =
| Float of float
| Int of int
| String of string
| Function of (ContextStack -> Value -> Value)
| Action of (unit -...
6
votes
1
answer
681
views
.NET 9 Debugger Step Over (F10) Behaving Like Continue (F5)
I'm experiencing an issue with debugging in .NET 9 after upgrading from .NET 8.
When using the debugger's Step Over function (F10), it most of the time behaves as if I pressed Continue (F5) instead.
...
1
vote
0
answers
48
views
.NET Debugger Implementation
I am currently implementing a .NET debugger for my own language designed in ANTLR. I am using ICorDebug and related interfaces provided by .NET.
I have just finished implementing how to change values ...
2
votes
1
answer
432
views
Visual Studio 2022: where is: Debug > Start Action > Start external program
I'm following this tutorial instructing me to set this configuration:
Click on Debug tab, and in Start Action section choose Start external program. To the corresponding textbox, set the path to the ...
0
votes
0
answers
52
views
Making debug symbols available in nuget package (from local server) without a symbol server
We have a local nuget package server but not a symbol server. Both the project which generates the package and the program which uses it are controlled by me.
After some research, it seemed that if I ...
0
votes
1
answer
56
views
Potential massive bug in Visual Studio /.net core?
I have an application with a custom control. The OnLoad() event handler adds an item to a list owned by the control. If I stop debugging and restart, the list contains the items it had from the ...
2
votes
0
answers
52
views
What steps can I take to debug an issue with a deployed program having an AccessViolationException?
I've spent some time looking into this problem for the last week or so. I've seen several threads on StackOverflow about AccessViolationException, but I haven't been able to find anything super ...