{"id":26131931,"url":"https://github.com/trepan-debuggers/rb-trepanning","last_synced_at":"2025-04-13T00:07:40.387Z","repository":{"id":615603,"uuid":"254116","full_name":"Trepan-Debuggers/rb-trepanning","owner":"Trepan-Debuggers","description":"Ruby MRI 2.1.5, 1.9.3 or 1.9.2 debugger. See also rbx-trepanning","archived":false,"fork":false,"pushed_at":"2024-09-25T12:35:57.000Z","size":3128,"stargazers_count":75,"open_issues_count":0,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-13T00:07:33.054Z","etag":null,"topics":["debugger","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Trepan-Debuggers.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2009-07-18T02:43:35.000Z","updated_at":"2025-03-09T16:00:50.000Z","dependencies_parsed_at":"2024-09-27T07:06:06.430Z","dependency_job_id":"2954cd66-2388-46c7-8312-10bab76932d5","html_url":"https://github.com/Trepan-Debuggers/rb-trepanning","commit_stats":null,"previous_names":["trepan-debuggers/rb-trepanning","rocky/rb-trepanning"],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Trepan-Debuggers%2Frb-trepanning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Trepan-Debuggers%2Frb-trepanning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Trepan-Debuggers%2Frb-trepanning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Trepan-Debuggers%2Frb-trepanning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Trepan-Debuggers","download_url":"https://codeload.github.com/Trepan-Debuggers/rb-trepanning/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647301,"owners_count":21139086,"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":["debugger","ruby"],"created_at":"2025-03-10T22:21:22.937Z","updated_at":"2025-04-13T00:07:40.368Z","avatar_url":"https://github.com/Trepan-Debuggers.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"The trepanning debugger gdb-like debugger. As such, it is both a high-level and low-level debugger. It is a also a rewrite of *ruby-debug*. But to provide all of the functionality that it has, it requires a patched version of MRI Ruby 2.1.5, 1.9.3 or 1.9.2 found the [ruby-debugger-runtime project](https://sourceforge.net/projects/ruby-debugger-runtime/). The additional run-time support in the MRI is what gives this [powerful features](https://github.com/rocky/rb-trepanning/wiki/Cool-things) that you won't find in other MRI 2.1 or 1.9 debuggers that don't use this runtime.\n\nSee the [installation instructions](https://github.com/rocky/rb-trepanning/wiki/How-to-Install-rb-trepanning).\n\nThere is a [google group mailing list](http://groups.google.com/group/ruby-debugger) for Ruby debuggers.\n\nIf *trepanning* is installed, here is how to run:\n\n```console\n   $ trepan ruby-program [program]\n```\n\nIf your program needs options of its own:\n\n```console\n   $ trepan -- ruby-program [program args...]\n```\n\nIf you want to run from the source tree you can do that too:\n\n```console\n\n  cd place-where-trepan-is-installed\n ./bin/trepan -- ruby-program [program args...]\n```\n\nRunning from inside *irb*:\n\n```ruby\n require 'trepanning'\n Trepan.debug { your code }\n```\n\nThe return value from Trepan is the return value of the block, i.e. the final value in the block.\n\nYou can run the same thing inside your Ruby program, but probably you don't want to give a block. Instead, you may want to have debugging start on the next statement in the code:\n\n```ruby\nrequire 'trepanning'\n...\ndebugger # stop here\n```\n\n\nThere is extensive on-line help, much in markdown format that displays nicely in a terminal. Run `help` inside the debugger.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrepan-debuggers%2Frb-trepanning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrepan-debuggers%2Frb-trepanning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrepan-debuggers%2Frb-trepanning/lists"}