Last change
on this file since 97441 was 69576, checked in by vboxsync, 7 years ago |
some windbg+python notes
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
455 bytes
|
Line | |
---|
1 | $Id: WindbgPython.txt 69576 2017-11-04 08:57:41Z vboxsync $
|
---|
2 |
|
---|
3 | Just a couple of useful windbg commands:
|
---|
4 |
|
---|
5 | Show python filenames + frame line number (not statement) up the call stack:
|
---|
6 | !for_each_frame ".block { dt python27!_frame qwo(!f) f_lineno; da qwo(qwo(qwo(!f)+0x20) + 50) + 20 } "
|
---|
7 |
|
---|
8 | Same, alternative version:
|
---|
9 | !for_each_frame .if ( $spat("${@#FunctionName}","*PyEval_EvalFrameEx*") ) { .printf "python frame: line %d\npython frame: filename %ma\n", @@c++(f->f_lineno), qwo(qwo(qwo(!f)+0x20) + 50) + 20 }
|
---|
10 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.