Skip to content

suppress warnings about deprecated global variables - #863

Merged
ko1 merged 1 commit into
ruby:masterfrom
arika:suppress-deprecation-warnings
Dec 6, 2022
Merged

suppress warnings about deprecated global variables#863
ko1 merged 1 commit into
ruby:masterfrom
arika:suppress-deprecation-warnings

Conversation

@arika

@arikaarika commented Dec 5, 2022

Copy link
Copy Markdown
Contributor

Description

rdbg --open may print deprecation warnings when global variables retrieved by DAP client.

sample code:

Warning[:deprecated]=truep1

sample output:

$ rdbg --open --sock-path=/tmp/rdbg.sock --command -- ruby test.rbDEBUGGER: Debugger can attach via UNIX domain socket (/tmp/rdbg.sock)DEBUGGER: wait for debugger connection...DEBUGGER: Connected.(eval):1: warning: variable $= is no longer effective1DEBUGGER: Disconnected.

Comment threadlib/debug/thread_client.rb Outdated
@arika

arika commented Dec 5, 2022

Copy link
Copy Markdown
ContributorAuthor

I will rebase later 🙇‍♂️

@arika

arika commented Dec 5, 2022

Copy link
Copy Markdown
ContributorAuthor

I rebased, run test_all, and push -f.

@ko1
ko1 merged commit b4ec2d7 into ruby:masterDec 6, 2022
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@arika@ko1