Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey

All Questions

Tagged with
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 ...
alterego's user avatar
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 ...
Kile Kasmir Asmussen's user avatar
-1 votes
1 answer
102 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 ...
Ben Grady's user avatar
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 ...
Chad V's user avatar
  • 21
0 votes
1 answer
43 views

How to Set Breakpoints in mdbg.exe?

I'm trying to use mdbg.exe for debugging C# code from the command line, replicating this tutorial. I've installed Mdbg.exe as explained here. using System; using System.Collections.Generic; namespace ...
Foad S. Farimani's user avatar
0 votes
1 answer
93 views

Debugging application freeze (infinite loop) using dump

Is it possible to debug an infinite loop in a .NET application by creating a dump file and then attempting opening in Visual Studio? Consider the following code: while (fileContents.Length < ...
komodosp's user avatar
  • 3,658
0 votes
1 answer
119 views

Debugging crash dump, call stack gives wrong line number

I'm attempting to debug a crash dump in Visual Studio 2019. However, the call stack is giving me the wrong line number for the method that calls the one in which the crash occurs. A bit of background -...
komodosp's user avatar
  • 3,658
0 votes
0 answers
36 views

Time travel debug C# xUnit test

I use xUnit (C#, .NET) for an integration test. It's hard to find why it fails and I want to use Time Travel debugging. Unfortunately, I don't see how I can do that with Visual Studio. The test ...
pvoosten's user avatar
  • 3,287
1 vote
1 answer
454 views

How can I see the content of a cshtml file in browser developer tool?

Right now I am facing the problem that I have a error in my JS code. I am developing in .net core mvc web. The browser console is telling me this error: Uncaught TypeError: Cannot read properties of ...
Griang's user avatar
  • 11
0 votes
0 answers
58 views

Stepping into library's or .NET code while debuging with Visual Studio Code

I want to step into a library's or .NET code while debugging. But it always skips the lines when a function calls into implementation that is not in my project source files. I am using .NET 6 Apart ...
mykolaso's user avatar
0 votes
1 answer
54 views

Automatically Choose another .NET-Version for Debugging an external application in Visual Studio

We have a DLL-Plugin using .NET-Framework 4.8. For debugging we have to start the external application. This Application seems to use .NET Core. When I start Debugging the following Dialog pops up ...
Martin Fehrs's user avatar
  • 1,123
0 votes
2 answers
620 views

"Source Not Found: You need to find class to view the source for the current call stack frame" as result when debugging project code

While investigating issues in a .net solution, I am encountering problems as I am unable to do debug or do any action. This is causing issues with debugging, such as breakpoints hitting or setting ...
Malenko's user avatar
  • 743
2 votes
1 answer
425 views

Debug adapter protocol - confused

I am creating C# Avalonia application with scripting capabilities using Microsoft.CodeAnalysis.CSharp.Scripting. Scripting is done inside the application. I would like to have the ability to do ...
sukj's user avatar
  • 31
0 votes
0 answers
42 views

Impossible to step into nuget package

I have a dotnet7 console app with a nuget package created by my team. I tried to step into the class from my console app to the package class but I have this window that pop enter image description ...
Cocom's user avatar
  • 1
3 votes
2 answers
776 views

How to debug multiple console applications with VSCode in C#

I have a solution with multiple console apps and I want to debug the selected one like in Visual Studio. Is there a way to do it? I found that the only way for me was to delete launch.json and add it ...
Martin's user avatar
  • 83

15 30 50 per page
1
2 3 4 5
45