diff --git a/snippets/pytowiki.py b/snippets/pytowiki.py index 1a48688..9fb857b 100644 --- a/snippets/pytowiki.py +++ b/snippets/pytowiki.py @@ -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() ) diff --git a/snippets/stkwalk.py b/snippets/stkwalk.py index 77fc4dc..9769a31 100644 --- a/snippets/stkwalk.py +++ b/snippets/stkwalk.py @@ -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" )