mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-20 03:23:23 +08:00
[0.2.x] updated: stkwalk.py
git-svn-id: https://pykd.svn.codeplex.com/svn@82043 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
171b46ea78
commit
c5080ef41e
@ -91,7 +91,7 @@ def buildDoc( ioStream, formatter, apiInfo ):
|
||||
|
||||
if cls.properties:
|
||||
for p in cls.properties:
|
||||
if p.__doc__ != None:
|
||||
if p[1].__doc__ != None:
|
||||
ioStream.write( formatter.anchor( cls.__name__ + "." + p[0] ) )
|
||||
ioStream.write( formatter.header4( formatter.escapeMarkup( "Property " + cls.__name__ + "." + p[0] ) ) )
|
||||
ioStream.write( formatter.escapeMarkup( p[1].__doc__ ) + formatter.endl() )
|
||||
|
@ -45,7 +45,7 @@ def printThread(process,thread,printopt):
|
||||
|
||||
stk = getStack()
|
||||
|
||||
dprintln( "Thread %x, Process: %s" % ( thread, loadCStr( process.ImageFileName ) ) )
|
||||
dprintln( "Thread %x, Process: %s (%x)" % ( thread, loadCStr( process.ImageFileName ), process ) )
|
||||
for frame in stk:
|
||||
dprintln( findSymbol( frame.instructionOffset ) )
|
||||
|
||||
@ -62,7 +62,7 @@ def printThread(process,thread,printopt):
|
||||
pass
|
||||
setProcessorMode(processorMode)
|
||||
|
||||
dprintln("")
|
||||
dprintln("")
|
||||
|
||||
except BaseException:
|
||||
|
||||
@ -81,7 +81,8 @@ def printProcess(process,processFilter,moduleFilter,funcFilter,printopt):
|
||||
return
|
||||
|
||||
try:
|
||||
setCurrentProcess(process)
|
||||
#setCurrentProcess(process)
|
||||
dbgCommand(".process /p %x" % process )
|
||||
|
||||
dbgCommand( ".reload /user" )
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user