GUI debugging server accessible on LAN connected devices through a browser
Reason this release was yanked:
unstable
Project description
Graphical Python Debugger
Overview
The Graphical Python Debugger is a network-enabled debugging tool designed to simplify the debugging process for Python applications. This application can be hosted on a local network, allowing multiple devices to participate concurrently in debugging sessions. It also includes a diagram generation feature to provide a visual overview of the Python files within a specified directory. This is a useful learning tool for beginners, and enables easy code reviews with just a command line tool.
Features
1. Directory Diagram Generation
- Generates a graphical diagram of Python files in a given directory.
- Displays:
- Functions
- Classes (including attributes and methods)
- Relationships between files.
- Enables source code viewing directly from the diagram.
2. Experimentation Window
- Allows users to execute Python code snippets for experimentation during debugging.
- Provides a sandbox environment to test isolated pieces of code.
- Syntax highlighting included
3. Debugger Shell
- Facilitates step-by-step execution of Python files.
- Core functionalities include:
- Setting breakpoints.
- Stepping through code execution.
- Viewing variable values and their stored information.
- Inspecting source code.
- Executing Python expressions during halted execution.
Installation
-
Clone the repository:
git clone https://github.com/your-username/graphical-python-debugger.git cd graphical-python-debugger
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the application:
python app.py -
Access the debugger via your web browser at
http://<host_ip>:<port>.
Or just run 'pip install GUIPyDebugger'
Usage
Starting a Debugging Session
- Specify the directory containing Python files via the command line tool 'gui_pdb'
- The command should look like 'gui_pdb <file_path>'
Experimentation Window
- Open the experimentation panel.
- Write and execute Python snippets to test logic or functionality.
- Keep in mind you can import any of your debug target modules or things in your venv
Debugger Shell
- Load the desired Python file.
- Use the controls to:
- Step through the code.
- Inspect and manipulate variables.
- Execute custom Python expressions.
Network Collaboration
- Host the debugger on a local network to allow other devices to connect.
- Collaborators can participate in debugging sessions and view/share updates in real-time.
Contribution
Reporting Issues
Feel free to open issues on the GitHub repository for bugs, feature requests, or general feedback.
Pull Requests
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch for your feature/bugfix.
- Commit your changes with clear messages.
- Submit a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contact
For questions or support, please reach out to curlejo.4career@gmail.com or submit an issue on GitHub.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file guipydebugger-1.0.5.tar.gz.
File metadata
- Download URL: guipydebugger-1.0.5.tar.gz
- Upload date:
- Size: 33.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
debcde868ec3f7eecdad6d65ba335e56f490195bf35868c5b48abc90da8b0c6b
|
|
| MD5 |
86c83d9df161c968f59c7a5030aa3724
|
|
| BLAKE2b-256 |
4aa8a834cbcb75838a3d0168d899372392d43094acf0d1da2ed6c97e7d73ffe4
|
File details
Details for the file GUIPyDebugger-1.0.5-py3-none-any.whl.
File metadata
- Download URL: GUIPyDebugger-1.0.5-py3-none-any.whl
- Upload date:
- Size: 43.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
045b629beb106cbd3eb70a7c31e8dec9a00a73b03619a501ae3565f54263be91
|
|
| MD5 |
1fef7eb9dbe1ad432cfbf72abefcf9cb
|
|
| BLAKE2b-256 |
b8ade14139ed8f37e1f00c2835281f24b06383fb3db0a068fd526852d7e5c49c
|