Skip to main content

A user friendly debugger

Project description

Here-Debugger

This user-friendly debugger simplifies the debugging process by accepting any number of variables and printing their names, values, and line numbers. It also offers options to add search text and include variable type information for enhanced clarity.

Features:

  • Prints variable names and values
  • Displays line number of the variables
  • Option to add search text
  • Option to include variable type information

Installation

To install the debugger, use: pip install here_debugger

Usage

  1. Print variable names and values.

    from here_debugger.debug import here_debugger
    a = 2
    b = "Bibhash"
    here_debugger(a, b)
    

    Output: Line-4: a = 2, | b = Bibhash, |

  2. Add search text:

    from here_debugger.debug import here_debugger
    a = 2
    b = "Bibhash"
    here_debugger(a,b, custom_arguments="Debug-")
    

    Output: Debug-:Line-4: a = 2, | b = Bibhash, |

  3. Print variable type information:

    from here_debugger.debug import here_debugger
    a = 2
    b = "Bibhash"
    c = [2,2]
    d = {}
    here_debugger(a,b,c,d, custom_arguments="Debug-", include_types=True)
    

    Output: Debug-:Line-6: a = 2, type=<class 'int'> | b = Bibhash, type=<class 'str'> | c = [2, 2], type=<class 'list'> | d = {}, type=<class 'dict'> |

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

here_debugger-0.0.2.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

here_debugger-0.0.2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file here_debugger-0.0.2.tar.gz.

File metadata

  • Download URL: here_debugger-0.0.2.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for here_debugger-0.0.2.tar.gz
Algorithm Hash digest
SHA256 1c536a1660f714a887c9fd921798975d2520cd7f4cd520b59c5bb2b99c9a70c6
MD5 4e68abc3ca33bd4f84eb2444f8c9ec8a
BLAKE2b-256 9ca1612e002de630ee3430e755b6387e4c7ce992882958af1511f7a0f127fd09

See more details on using hashes here.

File details

Details for the file here_debugger-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for here_debugger-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6925ceaa1da1be6d84e13f2721faccbbf9ab95ca4e5758740a3f152191b0d172
MD5 58432a2d0f68c8e5d210dce220d7f614
BLAKE2b-256 46df201413c93bfc62c9949931542bb4bb36f1d21cec69b36bcfbcf7c1d598ab

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page