All Projects → navdeep-G → Showme

navdeep-G / Showme

Licence: mit
Quick application debugging and analysis for Python

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Showme

Loom
Easier to read LuaJIT dumps
Stars: ✭ 138 (-18.82%)
Mutual labels:  debugging
Pdb
A parser for Microsoft PDB (Program Database) debugging information
Stars: ✭ 156 (-8.24%)
Mutual labels:  debugging
Pylink
Python Library for device debugging/programming via J-Link
Stars: ✭ 158 (-7.06%)
Mutual labels:  debugging
Strace Pipes Presentation
Presentation: Debugging across pipes and sockets with strace
Stars: ✭ 142 (-16.47%)
Mutual labels:  debugging
Watchdog
Class for logging excessive blocking on the main thread
Stars: ✭ 1,802 (+960%)
Mutual labels:  debugging
Redbug
erlang tracing debugger
Stars: ✭ 159 (-6.47%)
Mutual labels:  debugging
Gdb Frontend
☕ GDBFrontend is an easy, flexible and extensionable gui debugger.
Stars: ✭ 2,104 (+1137.65%)
Mutual labels:  debugging
Nim
Streamline Your Node.js Debugging Workflow with Chromium (Chrome, Edge, More) DevTools.
Stars: ✭ 168 (-1.18%)
Mutual labels:  debugging
Debug Bundle
The DebugBundle allows greater integration of the VarDumper component in the Symfony full-stack framework.
Stars: ✭ 2,033 (+1095.88%)
Mutual labels:  debugging
Soicbite
A compact PCB footprint which allows SOIC test clips to be used as a space-efficient programming and debugging connector
Stars: ✭ 161 (-5.29%)
Mutual labels:  debugging
Frodo2
Android Library for Logging RxJava2 Components
Stars: ✭ 142 (-16.47%)
Mutual labels:  debugging
Inappviewdebugger
A UIView debugger (like Reveal or Xcode) that can be embedded in an app for on-device view debugging
Stars: ✭ 1,805 (+961.76%)
Mutual labels:  debugging
Responsedetective
This project was made with ♡ by Netguru.
Stars: ✭ 1,921 (+1030%)
Mutual labels:  debugging
Clarify
Remove nodecore related stack trace noise
Stars: ✭ 140 (-17.65%)
Mutual labels:  debugging
Antidebugging
A collection of c++ programs that demonstrate common ways to detect the presence of an attached debugger.
Stars: ✭ 161 (-5.29%)
Mutual labels:  debugging
Rogcat
A `adb logcat` wrapper
Stars: ✭ 137 (-19.41%)
Mutual labels:  debugging
Vimspector
vimspector - A multi-language debugging system for Vim
Stars: ✭ 2,711 (+1494.71%)
Mutual labels:  debugging
Shader Printf
Simple printf functionality for GLSL.
Stars: ✭ 170 (+0%)
Mutual labels:  debugging
Hydrafw
HydraFW official firmware for HydraBus/HydraNFC for researcher, hackers, students, embedded software developers or anyone interested in debugging/hacking/developing/penetration testing
Stars: ✭ 165 (-2.94%)
Mutual labels:  debugging
Scyllahide
Advanced usermode anti-anti-debugger. Forked from https://bitbucket.org/NtQuery/scyllahide
Stars: ✭ 2,211 (+1200.59%)
Mutual labels:  debugging

ShowMe -- Quick and easy debugging for Python

ShowMe is a simple set of extremely useful function decorators for Python. It allows you to view trace information, execution time, cputime, and function documentation.

Installation

To use showme, simply:

pip install showme

or, if you must:

easy_install showme

Usage

Print passed-in arguments and function calls. ::

@showme.trace
def complex_function(a, b, c, **kwargs):
    ...


>>> complex_function('alpha', 'beta', False, debug=True)
calling haystack.submodule.complex_function with 
   args: ({'a': 'alpha', 'b': 'beta', 'c': False},)
   kwargs: {'debug': True}

Print function execution time. ::

@showme.time
def some_function(a):
    ...

>>> some_function()
Execution speed of __main__.some_function:
0.000688076019287 seconds

Print function cpu-execution time. ::

@showme.cputime
def complex_function(a, b, c):
    ...

>>> complex_function()
CPU time for __main__.complex_function:
     3 function calls in 0.013 CPU seconds

ncalls tottime percall cumtime percall filename:lineno(function) 1 0.013 0.013 0.013 0.013 test_time.py:6(test) 1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects} 1 0.000 0.000 0.000 0.000 {range}

.. Print local variables available at runtime. :: ..
.. @showme.locals .. def complex_function(a, b, c): .. ...

Pretty print function documentation. ::

@showme.docs
def complex_function():
    """Example Documentation for complex_function."""
    ...
    
>>> complex_function()
Documentation for __main__.complex_function:
Example Documentation for complex_function.
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].