{"id":17036502,"url":"https://github.com/emoon/prodbg","last_synced_at":"2025-04-05T06:08:41.274Z","repository":{"id":6668322,"uuid":"7913085","full_name":"emoon/ProDBG","owner":"emoon","description":"Debugging the way it's meant to be done","archived":false,"fork":false,"pushed_at":"2021-04-09T11:22:59.000Z","size":128502,"stargazers_count":514,"open_issues_count":114,"forks_count":31,"subscribers_count":57,"default_branch":"main","last_synced_at":"2025-03-29T05:08:41.993Z","etag":null,"topics":["c-plus-plus","debugger","rust"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emoon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-01-30T11:12:58.000Z","updated_at":"2025-03-23T22:14:01.000Z","dependencies_parsed_at":"2022-08-06T20:00:19.763Z","dependency_job_id":null,"html_url":"https://github.com/emoon/ProDBG","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emoon%2FProDBG","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emoon%2FProDBG/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emoon%2FProDBG/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emoon%2FProDBG/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emoon","download_url":"https://codeload.github.com/emoon/ProDBG/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247294539,"owners_count":20915340,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c-plus-plus","debugger","rust"],"created_at":"2024-10-14T08:50:44.835Z","updated_at":"2025-04-05T06:08:41.259Z","avatar_url":"https://github.com/emoon.png","language":"C++","funding_links":[],"categories":["\u003ca id=\"324874bb7c3ead94eae6f1fa1af4fb68\"\u003e\u003c/a\u003eDebug\u0026\u0026调试"],"sub_categories":["\u003ca id=\"d22bd989b2fdaeda14b64343b472dfb6\"\u003e\u003c/a\u003e工具"],"readme":"![](/data/prodbg_logo.png)\n======\n\nProDBG is a new debugger under development that will support a variety of targets and operating systems. Currently it's in very early development and primary focusing on Linux as primary target.\n\n## Build status\n\n![Build status](https://github.com/emoon/ProDBG/workflows/CI/badge.svg)\n\n### Status\n\nAs the rewrite of ProDBG (to using Qt in C++) is currently under way no debugging is working currently as everything is being brought up again. At this time C++ will be used for the UI but backends will be able to use different languages (such as Rust) as a C API is provided for this.\n\n## Cloning the repository\n\nThe ProDBG repository contains submodules. Clone it with `git clone --recursive`. If you forgot to clone it recursively the first time, from within the cloned repository run `git submodule update --init --recursive`.\n\n## How to compile and build\n\nLatest stable version of **Rust** (1.36+) needs to be present on the system. We recommend using [rustup](https://www.rustup.rs/) to install and manage your Rust toolchain(s). There are also other ways to [install rustup](https://github.com/rust-lang-nursery/rustup.rs/#other-installation-methods). If you already have rustup installed but aren't on the latest stable Rust, you can simply run `rustup update`.\n\n### Prequisites\n\nProDBG requires [Qt](https://www.qt.io/) as it's used for the UI. Go and install the 5.7 version and pick the 64-bit version for your system.\nYou also need to set three env variables: **QT5_LIB, QT5_BIN, QT5_INC** in order to build the code. See more details for each platform.\n## macOS\n\n### Prequisites\n\nBuilding the code on macOS requires that **Clang** is installed on your system. The easiest way to do this is to get Xcode and install the commandline tools.\n\n### Rustup\nRun: `rustup install stable-x86_64-apple-darwin` or `rustup override add stable-x86_64-apple-darwin`\n\n### Build\nRun: `scripts/mac_build_debug.sh`\n\n### Output\nThe main execeutable is located at: `t2-output/macosx-clang-debug-default/ProDBG.app/Content/MacOS/prodbg`\n\n## Windows\n\n### Prequisites\nOn Windows Visual Studio 2017 or later is required (2012 or earlier will not work as parts of the code uses C99)\n\n### Env variables\n\nSomething similar to this\n\n```\nQT5_LIB=C:\\Qt\\5.12.4\\msvc2017_64\\lib\nQT5_BIN=C:\\Qt\\5.12.4\\msvc2017_64\\bin\nQT5_INC=C:\\Qt\\5.12.4\\msvc2017_64\\include\n```\n\n### Rustup\n`rustup install stable-x86_64-pc-windows-msvc` or `rustup override add stable-x86_64-pc-windows-msvc`\n\n### Build\nRun: `scripts\\vcvarsx86_amd64.bat` and then `scripts\\win64_build_debug.cmd`\n\n### Run\nRun: `t2-output\\win64-msvc-debug-default\\prodbg.exe`\n\n## Linux\n\n### Prequisites\nBuilding the code on Linux will require some prerequisites to be installed. Which prerequisites depends on the distribution being used.\n\nFor Ubuntu you can use the following:\n```\nsudo apt-get update\nsudo apt-get install -y libx11-dev libgl1-mesa-dev libgtk-3-dev pkg-config qt515base\n```\n\nProDBG uses Tundra to build the project the project. Binaries are supplied on macOS and Windows but needs to be built on Linux:\n* `git clone https://github.com/deplinenoise/tundra.git`\n* `cd tundra`\n* `CXX=g++ make`\n* `sudo make install`\n\n### Env variables\n\nThese highly depends on how your system is setup. Here are two examples\n\n```\nexport QT5_BIN=/usr/bin\nexport QT5_INC=/usr/include/x86_64-linux-gnu/qt5/\nexport QT5_LIB=/usr/lib/x86_64-linux-gnu\n```\n\n```\nexport QT5_BIN=/opt/qt512/bin\nexport QT5_INC=/opt/qt512/include\nexport QT5_LIB=/opt/qt512/lib\n```\n\n### Rustup\nRun: `rustup install stable-x86_64-unknown-linux-gnu` or `rustup override add stable-x86_64-unknown-linux-gnu`\n\n### Build\nRun: `tundra2 linux-gcc-debug`\n\n### Run\nThe main executable is located at: `t2-output/linux-gcc-debug-default/prodbg`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femoon%2Fprodbg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femoon%2Fprodbg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femoon%2Fprodbg/lists"}