All Projects → SeanCline → PyExt

SeanCline / PyExt

Licence: MIT license
WinDbg Extensions for Python

Programming Languages

C++
36643 projects - #6 most used programming language
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to PyExt

Wdbgark
WinDBG Anti-RootKit Extension
Stars: ✭ 450 (+703.57%)
Mutual labels:  windbg, debugging-tool
Superdump
A service for automated crash-dump analysis
Stars: ✭ 384 (+585.71%)
Mutual labels:  windbg, debugging-tool
windbg-extensions
Extensions for the new WinDbg
Stars: ✭ 59 (+5.36%)
Mutual labels:  windbg
puts debuggerer
Ruby library for improved puts debugging, automatically displaying bonus useful information such as source line number and source code.
Stars: ✭ 82 (+46.43%)
Mutual labels:  debugging-tool
rvw developers core
SFCC Developers Core Cartridge. A Salesforce Commerce Cloud (Demandware) Cartridge for Developers.
Stars: ✭ 43 (-23.21%)
Mutual labels:  debugging-tool
elm-debug-extension
This web browser extension transforms the Elm's Debug.log output to be more readable.
Stars: ✭ 32 (-42.86%)
Mutual labels:  debugging-tool
android-sdk
AppSpector is a debugging service for mobile apps
Stars: ✭ 39 (-30.36%)
Mutual labels:  debugging-tool
Specter
Super simple debugging for PocketMine.
Stars: ✭ 73 (+30.36%)
Mutual labels:  debugging-tool
awesome print.cr
It dreams about becoming ruby's awesome_print for crystal-lang, under light development.
Stars: ✭ 13 (-76.79%)
Mutual labels:  debugging-tool
windbgtree
A command tree based on commands and extensions for Windows Kernel Debugging.
Stars: ✭ 94 (+67.86%)
Mutual labels:  windbg
debug
Debugging functionality for Ruby
Stars: ✭ 706 (+1160.71%)
Mutual labels:  debugging-tool
TrackJS-Node
TrackJS Error Monitoring agent for NodeJS
Stars: ✭ 26 (-53.57%)
Mutual labels:  debugging-tool
DbgExt
Debugger extension for the Debugging Tools for Windows (WinDbg, KD, CDB, NTSD).
Stars: ✭ 62 (+10.71%)
Mutual labels:  windbg
wt-console
A lightweight, extendable react-native developer and tester tool
Stars: ✭ 31 (-44.64%)
Mutual labels:  debugging-tool
poireau
Poireau: a sampling allocation debugger
Stars: ✭ 76 (+35.71%)
Mutual labels:  debugging-tool
vscode-cc65-debugger
VSCode extension for CC65 debugging with VICE or Mesen
Stars: ✭ 26 (-53.57%)
Mutual labels:  debugging-tool
gfr
Graphics Flight Recorder (GFR) is a Vulkan layer to help trackdown and identify the cause of GPU hangs and crashes.
Stars: ✭ 49 (-12.5%)
Mutual labels:  debugging-tool
shellex
C-shellcode to hex converter, handy tool for paste & execute shellcodes in IDA PRO, gdb, windbg, radare2, ollydbg, x64dbg, immunity debugger & 010 editor
Stars: ✭ 89 (+58.93%)
Mutual labels:  windbg
DbgSymGrabber
Just another tool to download specify Symbol (.pdb) files
Stars: ✭ 35 (-37.5%)
Mutual labels:  windbg
windbg js scripts
Toy scripts for playing with WinDbg JS API
Stars: ✭ 135 (+141.07%)
Mutual labels:  windbg

WinDbg Extensions for Python

Build Status

This debugger extension provides visualizations for Python objects and stacktraces when debugging the CPython interpreter. It helps with live debugging and post-mortem analysis of dump files.

The goal of this project is to provide a similar debugging experience in WinDbg/CDB/NTSD as already exists in GDB.

Currently, the extension is tested against 32bit and 64bit builds of Python versions 2.7, 3.3, 3.4, 3.5, 3.6, 3.7 and 3.8.

Installation

  • Build from source or download binaries from the Releases page
  • Copy pyext.dll of the appropriate bitness into <WINDBG_ROOT><BITNESS>winext
  • Ensure you have Microsoft Visual C++ 2017 Redistributable installed

Extension Commands

!pystack

Displays the Python callstack for the current thread.

Example usage:

0:000> !pystack
Thread 0:
    File "C:\Python36\lib\threading.py", line 1072, in _wait_for_tstate_lock
    File "C:\Python36\lib\threading.py", line 1056, in join
    File "scripts\win32debug.py", line 148, in _launch_and_wait
    File "scripts\win32debug.py", line 175, in dump_process
    File ".\fibonacci_test.py", line 18, in recursive_fib
    File ".\fibonacci_test.py", line 18, in recursive_fib
    File ".\fibonacci_test.py", line 18, in recursive_fib
    File ".\fibonacci_test.py", line 28, in <module>

Use ~*e!pystack to display the Python stack for all threads.

!pyobj

Displays the reference count, type, and value of a Python object, using similar formatting to Python's builtin repr() function.

Example usage:

0:000> !pyobj autoInterpreterState->tstate_head->frame->f_code
PyCodeObject at address: 000001fc`b6a87f60
RefCount: 2
Type: code
Repr: <code object, file "scripts\win32debug.py", line 120>
0:000> !pyobj autoInterpreterState->tstate_head->frame->f_globals
PyDictObject at address: 000001fc`b6ba6bd0
RefCount: 15
Type: dict
Repr: {
    '__name__': 'win32debug',
    '__doc__': 'Wrappers around various Win32 APIs debugging.',
# ...
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].