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
2
votes
0 answers

Investigating a memory leak in .Net application using DebugDiag and WinDbg

I am trying to diagnose a memory leak in a C# client application. This application: runs in a hardened Windows environment communicates with a local un-managed third-party API communicates via tcp to a server application plays wav files via…
Sean Tomas
  • 21
  • 3
2
votes
0 answers

DebugDiag shows many HttpContext as not completed?

I took a process dump on a w3wp worker process, and I see too many HttpContext objects in the HttpContext Report HttpContext Report HttpContext Timeout Completed RunningSince ThreadId ReturnCode Verb RequestPath+QueryString cb7ac668a0 110 Sec No…
treble_maker
  • 193
  • 1
  • 12
2
votes
2 answers

DebugDiag Message Thread Does Not Appear to be Waiting on the Remote Server to Respond

We have a C# Windows service that runs a process that is split into multiple tasks. Most of the tasks contact a web service using WCF to perform work against a database. The service's tasks are run in multiple threads. A customer opened a support…
Paul Williams
  • 16,585
  • 5
  • 47
  • 82
2
votes
1 answer

Huge reserved memory according to DebugDial (memory leak?)

We experience memory problems in production. On the 2008 Windows Server there are many web api services. I see that most of them have the same problem(?) which is quite a big number as reserved memory. Below are informations from one othe services…
2
votes
1 answer

DebugDiag call stack does not display line number of functions in call stack

I am trying to isolate memory leaks in native code on Windows. I ran multiple iterations of a test case and attached DebugDiag to the process to collect information on the suspected leak (memory leak confirmed through multiple runs in…
2
votes
1 answer

How to interpret this crash dump

We've been encountering an issue with a particular website hosted in iis for which I've not managed to get much information from the event log. I'm a bit out of my league with these low level 'raw' diagnostic tools and I'm not if I'm barking up the…
Ian
  • 33,605
  • 26
  • 118
  • 198
2
votes
0 answers

DebugDiag 1.2 minidumps are corrupt?

I have two 32-bit Windows Server 2003 R2, SP2 machines. I've tried using DebugDiag 1.2 to perform a performance-based dump of an IIS App Pool. I've tried this on both servers and they are coming up with a .dmp file that cannot be read by…
mpeterson
  • 1,672
  • 12
  • 15
2
votes
2 answers

How to get memory dump on specific Exception after application pool recycle

After our app pool recycles our WCF services throw FileLoadException on access. Recycling of app pool helps. Sometimes the error goes away without recycling. I asked the question I asked first question about it here: FileLoadException when accessing…
Piotr Perak
  • 10,718
  • 9
  • 49
  • 86
2
votes
1 answer

WinDbg: Version mismatch of dbghelp.dll when trying to attach to a process

Over a year ago I already used WinDbg and DebugDiag to find a memory leak in a JNI native DLL that we use from within Java. Now I am searching for a thread handle leak. I created a memory dump using Process Explorer and tried to analyze it in…
Jens Berger
  • 134
  • 2
  • 8
1
vote
1 answer

DebugDiag dump doesn't include a .NET exception, depending on certain code

I'm trying to create a dump using DebugDiag that will contain information for non-handled .NET exceptions. The creation of the dump file seem to be dependant on the running code, which I don't understand why. These are the steps I've taken: Prepare…
OfirD
  • 9,442
  • 5
  • 47
  • 90
1
vote
1 answer

debugging hang with DebugDiag - mystery exceptions

I'm recently working on debugging a "hang" issue with one of our applications. I'm new to the tool but have a particular question about what I'm seeing in the DebugDiag analysis. I'll post separately for other questions. It has a section titled…
jd314159
  • 365
  • 2
  • 14
1
vote
1 answer

How to post-mortem debug .NET process and run powershell script as debugger action?

Is there an easy way to monitor a given Windows process for a well defined .NET exception (either first or second chance) and run a powershell script when that exception is raised? I don't really need a process dump (yet).
user2368632
  • 990
  • 1
  • 12
  • 33
1
vote
1 answer

ASP.NET application - sudden high CPU/memory issues

I have a .NET Framework 4 ASP.NET application (combo of WebForms and MVC) which has been live for a number of years now. Over the last few months, the application would suddenly stop responding and the application pool would start to use 99% CPU and…
Chris
  • 7,415
  • 21
  • 98
  • 190
1
vote
1 answer

Windows-Services freeze irregularly

Because I am running out of arguments discussing with our admins, I hope you can help me with the following issue. We have a strange behaviour corresponding to our self-implemented windows-services. They freeze randomly. Sometimes they keep on…
user987979
  • 111
  • 1
  • 1
  • 8
1
vote
1 answer

Is there a way to run DebugDiag Analysis from the command line?

Is there a way to invoke DebugDiag Analysis from the command line? I've tried this: DebugDiag.Analysis.exe "C:\dumps\oops.dmp" But it only started up the GUI (with oops.dmp added). What I am looking for is something more like…
chrisn
  • 748
  • 6
  • 17