windbg Questions

2

Solved

I am working on debugging an application that seems to leak memory like crazy; most of it seems due to fragmentation from pinned objects(downloaded image data in a WriteableBitmap). However, I am n...
Horribly asked 8/8, 2011 at 23:34

3

Solved

Using Windbg script I want to check the presence of a certain string in an argument of any function. 0:000> g Breakpoint 0 hit eax=00000001 ebx=00000000 ecx=00422fc6 edx=00000000 esi=03d574e8 e...
Frost asked 31/3, 2015 at 15:38

3

I am aware of setting breakpoint base on function name in WinDBG using bp, bm commands is there a way to set break point break on source code line number say <some command> 20 means it ...
Speciality asked 17/10, 2010 at 10:8

0

I've got a debug dump (available at http://1drv.ms/1CpYkmr), which gives me very strange output. I tried doing standard WinDBG stuff and got nothing useful, so I tried PDE.dll and got the following...
Disbud asked 30/3, 2015 at 18:27

1

I have a spare server on the network that I'd like to have host all of our build symbols. I already know how to set up a symbol cache on my local development system and pointing my debugger (e.g. W...
Livre asked 27/3, 2015 at 20:24

0

I have an app that was freezing for a long time (sometimes a minute or more, sometimes it doesn't seem to come back at all, but this time it was about a minute) and I took a few dumps for analysis....
Sundin asked 10/3, 2015 at 17:51

1

Solved

While dumping heap of a win32 processes (Mostly in process which has high heap memory consumption like IE ) using !heap -a 004e0000 I find multiple segments of a particular heap like , Heap entrie...
Leahy asked 15/2, 2015 at 9:13

2

Solved

How can I calculate heap chunk size from raw bytes read from memory. I tried below thing. 0:001> !heap Index Address Name Debugging options enabled 1: 00500000 2: 00280000 3: 008f0000 4:...
Humiliate asked 12/2, 2015 at 17:4

3

Solved

How can I set all exceptions behavior to pass to application and not appear in debugger? I'm using IDA Pro 6.6 and WinDbg.
Radome asked 3/2, 2015 at 18:37

1

Is there a way to WinDbg in pure headless mode ? My use case is that I should be able to imitate "!analyze -v" command for a minidump on command line without launching WinDbg GUI.
Deviltry asked 15/1, 2015 at 0:14

2

Solved

I'm very confused and I think my debugger is lying to me. I have the following loop in my code: MyClass::UploadFile(CString strFile) { ... static DWORD dwLockWaitTime = EngKey::GetDWORD(DNENG_SE...
Fairlie asked 22/1, 2015 at 19:20

1

Solved

Whenever I get a crash dump for an x64 release build of my application I find its rare I can view the locals, this makes it hard or impossible to fix some issues. In x86 I can usually view all loca...
Hoar asked 31/12, 2014 at 10:54

2

Solved

I'm investigating a Windows dump file in WinDBG. I can switch the call stack frame by command .frame, but I found that the registers always contain the last context. I mean, if it is possible to re...
Rhinelandpalatinate asked 6/4, 2012 at 2:49

3

Solved

Is it possible to use windbg commands like !locks and .loadby sos mscorwks from the Visual Studio command window (in a debug session)? I've noticed I can use eg k to print a stack trace, so I was w...
Eichman asked 9/8, 2010 at 8:42

1

I have a MAP file for a DLL which I'm trying to debug. I converted this to a DBG file with the Map2Dbg-tool and put it into the symbol path. Issuing a .reload /f mydll.dll doesn't work though, a s...
Foah asked 19/12, 2014 at 8:28

1

Solved

I'm analyzing a dump which shows something strange: there seem to be a contradiciton between the command !heap -x -v hexadecimal_address and !heap -flt s size_of_block I'm inquiring about dangling...
Atory asked 13/11, 2014 at 14:34

1

Solved

Is there way to tell WinDbg to ignore program breakpoints like caused by DebugBreak function?
Kurland asked 13/11, 2014 at 10:55

3

I'm debugging a .NET 4.0 web application using a full crash dump and Windbg. I seem able to get all the versions of everything to match up however when I try to get the managed stack trace of all t...
Ternion asked 24/10, 2011 at 15:33

2

Solved

I'm currently trying to debug a system deadlock and I'm having a hard time understanding this. Child-SP RetAddr : Args to Child : Call Site fffff880`035cb760 fffff800`02ecef72 : 00000000`00000002...
Argentina asked 23/10, 2014 at 21:31

1

Solved

I am debugging a windows component and want to view all the functions of a particular dll that are called (also in the exact order they are called). I can do this by attaching the component to wind...
Gregale asked 7/10, 2014 at 10:58

1

Solved

I need to track down the reason for out of memory (OOM) exceptions in a .NET application. Using perfmon, the app crashes with an OOM when using relatively low memory (500-700mb), so I'm assuming so...
Abaft asked 1/10, 2014 at 13:30

1

Solved

I'm debugging a process in WinDbg, and the process exited: 0:009> g (bunch of regs...) ntdll!NtTerminateProcess+0xc: 770ad43c c20800 ret 8 0:009> g ^ No runnable debuggees error in 'g' At...
Upton asked 23/9, 2014 at 10:29

2

Solved

For some reason, I cannot run any commands once I load psscor4. I have downloaded x64 of psscor4 from MS website and put it in same folder where windbg is. Before loading psscor4, I can run sos com...
Mcculley asked 22/9, 2014 at 18:37

1

I'm trying to use the bullet physics library as wrapped by the libgdx Android Java development framework (gdx-bullet) and getting JVM crashes or "pure virtual method called" crashes after some shor...
Wayworn asked 22/11, 2012 at 12:42

3

I've got a memory problem in my .NET application where my app starts off consuming about 1GB in the Gen2 heap after everything is initialized and loaded. It slowly over time (4-5 hours) ends up con...
Sap asked 10/1, 2012 at 18:42

© 2022 - 2024 — McMap. All rights reserved.