{"id":25867571,"url":"https://github.com/robacarp/ruby_debug_issue_1121","last_synced_at":"2025-10-04T15:30:05.710Z","repository":{"id":279286367,"uuid":"938303913","full_name":"robacarp/ruby_debug_issue_1121","owner":"robacarp","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-24T19:01:54.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-09T00:43:00.470Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robacarp.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-24T18:36:30.000Z","updated_at":"2025-02-24T19:01:58.000Z","dependencies_parsed_at":"2025-02-24T20:19:47.718Z","dependency_job_id":"68bcd179-79df-4443-8c3b-1ec69a21f0ee","html_url":"https://github.com/robacarp/ruby_debug_issue_1121","commit_stats":null,"previous_names":["robacarp/ruby_debug_issue_1121"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/robacarp/ruby_debug_issue_1121","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robacarp%2Fruby_debug_issue_1121","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robacarp%2Fruby_debug_issue_1121/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robacarp%2Fruby_debug_issue_1121/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robacarp%2Fruby_debug_issue_1121/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robacarp","download_url":"https://codeload.github.com/robacarp/ruby_debug_issue_1121/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robacarp%2Fruby_debug_issue_1121/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259952419,"owners_count":22936953,"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":[],"created_at":"2025-03-02T03:37:54.240Z","updated_at":"2025-10-04T15:30:00.642Z","avatar_url":"https://github.com/robacarp.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Remote Debugger Failure\n\nThis repository is a minimal proof of concept which causes ruby-debug to behave erratically when debugging a remote process.\n\n## Reproduction Steps\n\n1. Clone this repository\n2. `bundle install`\n3. `./run`\n4. visit [localhost:3000](http://localhost:3000)\n5. Attach to the remote debugger wiht `rdbg --attach`\n\n## Faulty behavior\n\n```consolesession\n\u003e rdbg --attach\n\nDEBUGGER (client): Connected. PID:68188, $0:/Users/robert/.asdf/installs/ruby/3.3.0/bin/puma\n\n[1, 8] in config.ru\n     1| require \"debug\"\n     2| \n     3| run do |env|\n     4|   puts \"before debugger\"\n=\u003e   5|   debugger\n     6|   puts \"after debugger\"\n     7|   [200, {}, [\"Hello, world!\"]]\n     8| end\n=\u003e#0\tblock {|env={\"rack.version\"=\u003e[1, 6], \"rack.errors\"=\u003e...|} in \u003ctop (required)\u003e (3 levels) at config.ru:5\n  #1\tPuma::Configuration::ConfigMiddleware#call(env={\"rack.version\"=\u003e[1, 6], \"rack.errors\"=\u003e...) at ~/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/puma-6.4.3/lib/puma/configuration.rb:272\n  # and 6 frames (use `bt' command for all frames)\n(ruby:remote) 1\n# No sourcefile available for /Users/robert/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/puma-6.4.3/lib/puma/single.rb\n=\u003e#0\t[C] Thread#join at ~/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/puma-6.4.3/lib/puma/single.rb:63\n  #1\tPuma::Single#run at ~/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/puma-6.4.3/lib/puma/single.rb:63\n  # and 5 frames (use `bt' command for all frames)\n\nStop by SIGURG\n(ruby:remote) 2\n1\n(ruby:remote) 3\n2\n(ruby:remote) 4\n\n^C# No sourcefile available for /Users/robert/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/puma-6.4.3/lib/puma/single.rb\n=\u003e#0\t[C] Thread#join at ~/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/puma-6.4.3/lib/puma/single.rb:63\n4\n(rdbg:remote) exit\n  #1\tPuma::Single#run at ~/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/puma-6.4.3/lib/puma/single.rb:63\n  # and 5 frames (use `bt' command for all frames)\n\nStop by SIGURG\n(rdbg:remote) exit\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobacarp%2Fruby_debug_issue_1121","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobacarp%2Fruby_debug_issue_1121","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobacarp%2Fruby_debug_issue_1121/lists"}