Skip to content

Debugger in VSCode stops at the incorrect place when it exits. #431

@ono-max

Description

@ono-max

Your environment

$ ruby -v
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin20]

Describe the bug
Screen Shot 2021-12-14 at 2 56 35 PM

Debugger stops at the process of https://github.com/ruby/debug/blob/master/lib/debug/server.rb#L410.

To Reproduce

a = 1
b = 2
c = 3
d = 4
e = 5

Expected behavior
Debugger should exit without stopping there.

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