Questions tagged [debugdiag]

The Debug Diagnostic Tool (DebugDiag) is designed to assist in troubleshooting issues such as hangs, slow performance, memory leaks or fragmentation, and crashes in any user-mode process. The tool includes additional debugging scripts focused on Internet Information Services (IIS) applications, web data access components, COM+ and related Microsoft technologies.

The Debug Diagnostic Tool (DebugDiag) is designed to assist in troubleshooting issues such as hangs, slow performance, memory leaks or fragmentation, and crashes in any user-mode process. The tool includes additional debugging scripts focused on Internet Information Services (IIS) applications, web data access components, COM+ and related Microsoft technologies.

95 questions
3
votes
0 answers

DebugDiag PerfAnalysis always fails due to a System.Argument exception

I have tried collecting several dumps with DebugDiag for CPU usage, but each time that I try to analyze the dump, whether a mini dump on the server, or a full dump on my workstation, it results in a report like this: There is nothing more lower…
lambdakris
  • 665
  • 6
  • 15
3
votes
2 answers

I need help using MS Debug Diagnostic Tool to profile C# app with high CPU usage

I have a .NET multi-threaded application. It receives and sends a lot of UDP packets through the network, and it makes a lot of calculations. I open this app every day, and it functions during the whole business hours window. The number of…
Marcos Arruda
  • 532
  • 7
  • 15
3
votes
1 answer

how to analyze memory leaks for "azure web apps" (PaaS)

I am looking to analyze memory leaks for the web app deployed in azure. Referring to following…
3
votes
1 answer

DebugDiag giving no stacktrace for .NET 4.6 MVC5 application

I'm trying to debug some CPU issues caused by a .NET 4.6 MVC5 application by analyzing a dump created by DebugDiag 2.1.0.7. I'm finding even after loading custom .pdb symbols I'm still not getting stacktrack information in the generated report: The…
ajbeaven
  • 9,265
  • 13
  • 76
  • 121
3
votes
1 answer

Locating native memory leak in managed .NET application, DebugDiag missing stack traces

LeakTrack in DebugDiag not capturing stack traces, so not sure where to go from here. I have a .NET application (NServiceBus process running as a windows service) that has a memory leak. Grows to about 10GB over the course of 5-6 days. I did a…
Matt
  • 41,216
  • 30
  • 109
  • 147
3
votes
1 answer

Can DebugDiag generate reports with "inclusive size" like Visual Studio 2013

Visual Studio 2013 can show a column for inclusive size (which includes size of child objects) - http://blogs.msdn.com/b/visualstudioalm/archive/2013/10/16/net-memory-analysis-enhancements-in-visual-studio-2013.aspx DebugDiag's memory analysis…
sgarg
  • 2,340
  • 5
  • 30
  • 42
3
votes
1 answer

clr.dll exception causes the iis crashed, PDB symbol for clr.dll not loaded, The version of SOS does not match the version of CLR you are debugging

Recently, my asp.net application crashed. I got the event logs on windows, two type exception message: Application: w3wp.exe Framework Version: v4.0.30319 Description: The process was terminated due to an internal error in the .NET Runtime at IP…
gfan
  • 1,027
  • 1
  • 14
  • 28
3
votes
1 answer

DebugDiag and MVC4 gives no usable stacktrace

I just experienced a high CPU issue on our production aserver and decided to practice debugging such situations locally to be prepared for this in the future, but when I try to debug a local MVC4 site, I dont get the same informative stack trace as…
Stephan Møller
  • 1,247
  • 19
  • 39
3
votes
0 answers

Program crashes, but Debug Diag says it's a first chance exception, is that correct?

Probably this is a normal situation, but I am confused. I am running my C# Debug application from Visual Studio. DebugDiag is set up to attach to the process automatically. I have a rule to collect crash dumps from this application, and the rule…
user1725145
  • 3,993
  • 2
  • 37
  • 58
3
votes
0 answers

Application hang in .Net 4.0 WPF application (possibly a LoaderLock issue?)

I have a .Net 4.0 WPF application which appears to be hanging sometimes (1-2 times per day). The application is all to do with monitoring users activities and so makes use the a number of native calls (e.g. EnumWindows, GetForegroundWindow,…
cnash
  • 51
  • 3
2
votes
0 answers

Is there a way to have DebugDiag2 output a report formatted as text only?

The report produced by DebugDiag2 is formatted as HTML but it does not look possible to read using just a text editor. I recently analyzed a process dump that produced a report that crashes any browser i open it with (IE, Edge, Chrome). Is there a…
yenta
  • 1,332
  • 2
  • 11
  • 25
2
votes
2 answers

What is LogHelp_TerminateOnAssert?

There is a similar question from a decade ago, but there was no good answer - hopefully things have changed since then. I have a fairly multithreaded Winforms app based on .NET 4.72. I am looking at it with Process Explorer Threads view and it has…
AngryHacker
  • 59,598
  • 102
  • 325
  • 594
2
votes
0 answers

DebugDiag Analysis is taking too long to generate the report

I am using DebugDiag Analysis tool in the server to generate report for the dump file which is 1.74 GB and it's running for more than a day and could not generate report. I also tried running the tool in separate computer…
Tamoj
  • 251
  • 1
  • 3
  • 9
2
votes
0 answers

Debugdiag shows "Microsoft VC Runtime Heap" using over 1gb

Hello I have a leak in my WPF application and I'm trying to use the memory dump file to track down where the problem is. Using WinDbg and SOS I couldn't find anything suspicious. Then I tried DebugDiag and I got that Microsoft VC Runtime Heap…
2
votes
0 answers

Can DebugDiag cause exceptions to stop being thrown or prevent general .net exceptions?

I know this question sounds nuts but here is my scenario. I have three Windows Server 2012 R2 web servers behind a load balancer and all three are weighted the same (33%). All three servers are running our ASP.NET site on IIS. These servers are…
Mike Becatti
  • 2,052
  • 1
  • 16
  • 32