Idea: WinDbg katas

15 views
Skip to first unread message

Justin Dearing

unread,
May 8, 2013, 4:37:08 PM5/8/13
to nynj-winterna...@googlegroups.com
I need some formalized "debugging for the sake of debugging" I can do to learn WinDbg. SqlServr.exe and Devenv.exe have interesting things about them. Devenv has the virtue of having managed and unmanaged code. Chrome has a public symbol server too for debugging.

Do you think others would find the idea interesting?

Justin

Sunny Chakraborty

unread,
May 8, 2013, 5:31:39 PM5/8/13
to Justin Dearing, nynj-winterna...@googlegroups.com
I'd agree.
You have to understand that WinDBG is used by different roles, and depending on the role, people may find diff. use for it

Let me know what your target group / role is and we can come up with something.



Justin

--
You received this message because you are subscribed to the Google Groups "nynj-winternals-studygroup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nynj-winternals-stu...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Justin Dearing

unread,
May 8, 2013, 9:44:32 PM5/8/13
to nynj-winterna...@googlegroups.com, Justin Dearing
Well I guess you could have katas for different roles. I'm a dev, so I care most about that. Let me rough something out:

DevOps
  1. attach to the process
  2. turn on preferred DML
  3. break and go a few times load up the modules
  4. Look at PEB and TEB
  5. get the call stack with kp
  6. Try to find symbol servers for the modules in the process
  7. For each thread look at the call stack
  8. Use sos.dll for managed threads
DBA
  1. Attach to sqlservr.exe
  2. Try to get symbols to load
  3. Step through a SQLCLR stored proc
  4. use gh and determine ways to trigger handled first class exceptions
SYSADMIN (WMI)
If you could do WMI queries with WinDbg via a plugin, a WMI expert could get comfortable with it.



On Wednesday, May 8, 2013 5:31:39 PM UTC-4, sunnyc7 wrote:
I'd agree.
You have to understand that WinDBG is used by different roles, and depending on the role, people may find diff. use for it

Let me know what your target group / role is and we can come up with something.
On Wed, May 8, 2013 at 4:37 PM, Justin Dearing <zipp...@gmail.com> wrote:
I need some formalized "debugging for the sake of debugging" I can do to learn WinDbg. SqlServr.exe and Devenv.exe have interesting things about them. Devenv has the virtue of having managed and unmanaged code. Chrome has a public symbol server too for debugging.

Do you think others would find the idea interesting?

Justin

--
You received this message because you are subscribed to the Google Groups "nynj-winternals-studygroup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nynj-winternals-studygroup+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages