Skip to content

q! command doesn't exit remote debuggee correctly #815

Closed

Description

@ono-max

Your environment

  • ruby -v:
  • ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [arm64-darwin21]
  • rdbg -v:
  • master

Describe the bug
I just noticed q! doesn't exit remote debuggee through #813.

To Reproduce

a=1
$ exe/rdbg target.rb -O
DEBUGGER: Debugger can attach via UNIX domain socket (/var/folders/5j/z2c9zm7124q81f_py4xmd3scp7w9j7/T/ruby-debug-sock-746464807/ruby-debug-s15236-53533)
DEBUGGER: wait for debugger connection...
DEBUGGER: Connected.
DEBUGGER: Disconnected.
# debuggee is not terminated here.
$ exe/rdbg -A
DEBUGGER (client): Connected. PID:53533, $0:a.rb

[1, 1] in a.rb
=>   1| a=1
=>#0	<main> at a.rb:1
(ruby:remote) q!
disconnected (quit)

Expected behavior
It should exit remote debuggee.

Additional context
q[uit] or Ctrl-D exits remote debuggee correctly.

Activity

  1. added 3 commits that reference this issue on Nov 20, 2022
    9d87a05
    228a0d1
    85af18a
  2. added a commit that references this issue on Nov 22, 2022
    f6c26e6
  3. added a commit that references this issue on Sep 2, 2024
    c44094b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions