Skip to content

Use flag instead of caller for debug's binding.irb check - #947

Merged
tompng merged 1 commit into
masterfrom
fix-#946
May 4, 2024
Merged

tompng merged 1 commit into
masterfrom
fix-#946

Conversation

@st0012

@st0012 st0012 commented May 3, 2024 •

Copy link
Copy Markdown
Member

Although #946 was caused by file loading order change, I believe it's better not to rely on caller location for the binding.irb check. So this PR flags Irb instances that are created from binding.irb, and use that info to inform debug commands.

Closes #946

@st0012 st0012 added the bug Something isn't working label May 3, 2024
@st0012 st0012 self-assigned this May 3, 2024

@tompng tompng left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@tompng
tompng merged commit 4a4d7a4 into master May 4, 2024
@tompng
tompng deleted the fix-#946 branch May 4, 2024 03:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't enter a debug session with irb 1.13

2 participants