Welcome to MSDN Blogs Sign in | Join | Help

Decrypt my World

Cryptography, Security, Debugging and more!

News

  • Any of my posts is supported under any Microsoft standard support program or service. They are provided "AS IS" without warranty of any kind, and confer no rights.

Where are my readers?

Locations of visitors to this page

Favorite Posts

August 2009 - Posts

MANAGED DEBUGGING with WINDBG. Breaking on an Exception. Part 1
Hi all, This post is a continuation of MANAGED DEBUGGING with WINDBG. Managed Heap. Part 5 . BREAKING ON AN EXCEPTION. Part 1 We can only break on exceptions when doing live debugging, but many of the commands explained here can be used when doing dump Read More...
MANAGED DEBUGGING with WINDBG. Managed Heap. Part 5
Hi all, This post is a continuation of MANAGED DEBUGGING with WINDBG. Managed Heap. Part 4 . MANAGED HEAP. Part 5 · We can troubleshoot Loader Heap issues : An assembly can’t be unloaded while the AppDomain where it was created is still alive. We will Read More...
MANAGED DEBUGGING with WINDBG. Managed Heap. Part 4
Hi all, This post is a continuation of MANAGED DEBUGGING with WINDBG. Managed Heap. Part 3 . MANAGED HEAP. Part 4 · We can troubleshoot Heap issues : These are some of the important performance counters we can check with Performance Monitor when having Read More...
MANAGED DEBUGGING with WINDBG. Managed Heap. Part 3
Hi all, This post is a continuation of MANAGED DEBUGGING with WINDBG. Managed Heap. Part 2 . MANAGED HEAP. Part 3 · We can take a look to which objects reference which objects in the heap: We may see many objects in the heap that we think should have Read More...
MANAGED DEBUGGING with WINDBG. Managed Heap. Part 2
Hi all, This post is a continuation of MANAGED DEBUGGING with WINDBG. Managed Heap. Part 1 . MANAGED HEAP. Part 2 · We can take a look to the objects in the heap : We can see all objects in the heap: 0:004> !DumpHeap Address MT Size 7b463c40 790fd0f0 Read More...
MANAGED DEBUGGING with WINDBG. Managed Heap. Part 1
Hi all, This post is a continuation of MANAGED DEBUGGING with WINDBG. Thread Stacks. Part 2 . MANAGED HEAP. Part 1 .NET won’t use the NT Heap . It saves some virtual memory for its own managed heap instead. Objects in the managed heap are part of a Garbage Read More...
Controls won't get resized once the nesting hierarchy of windows exceeds a certain depth (x64)
Hi all, welcome back, I've been working on an issue where WM_SIZE events are not properly generated once the nesting hierarchy of windows exceeds a certain depth. This issue only occurs on current x64 Windows : like XP, Server 2008 or the latest Windows Read More...
MANAGED DEBUGGING with WINDBG. Thread Stacks. Part 2
Hi all, This post is a continuation of MANAGED DEBUGGING with WINDBG. Thread Stacks. Part 1 . THREAD STACKS. Part 2 · We can inspect the objects with unmanaged commands : The reference to an object points to the method table (which is a pointer to the Read More...
MANAGED DEBUGGING with WINDBG. Thread Stacks. Part 1
Hi all, This post is a continuation of MANAGED DEBUGGING with WINDBG. Threads. Part 2 . THREAD STACKS. Part 1 · We can take a look to the objects in the stack : The CLR is stack-based. All references to objects are in the stack , but objects themselves Read More...
MANAGED DEBUGGING with WINDBG. Threads. Part 2
Hi all, This post is a continuation of MANAGED DEBUGGING with WINDBG. Threads. Part 1 . THREADS. Part 2 · We can see all .NET related threads in our process: There are different types of .NET threads : finalizer, GC, debugger, timer, threadpool, primary Read More...
MANAGED DEBUGGING with WINDBG. Threads. Part 1
Hi all, This post is a continuation of MANAGED DEBUGGING with WINDBG. Call Stacks. Part 3 . THREADS. Part 1 · We can see all threads in our process: If we reach a breakpoint or break on an exception , WinDbg command prompt shows the ID of the thread which Read More...
MANAGED DEBUGGING with WINDBG. Call Stacks. Part 3
Hi all, This post is a continuation of MANAGED DEBUGGING with WINDBG. Call Stacks. Part 2 . CALL STACKS. Part 3 · Let's review previous commands: Let’s see a sample where the debugger broke when “PlayWithArray” raised an exception. We can use the return Read More...
MANAGED DEBUGGING with WINDBG. Call Stacks. Part 2
Hi all, This post is a continuation of MANAGED DEBUGGING with WINDBG. Call Stacks. Part 1 . CALL STACKS. Part 2 · We can see the source code of a method in the call stack: First of all, Source Code mode has to be enabled. We’ll need symbols and source Read More...
Page view tracker