Skip to content

Fix typo - #2

Merged
olleolleolle merged 3 commits into
ruby:masterfrom
syohex:typo
May 7, 2021
Merged

Fix typo#2
olleolleolle merged 3 commits into
ruby:masterfrom
syohex:typo

Conversation

@syohex

Copy link
Copy Markdown
Contributor

No description provided.

Comment threadREADME.md Outdated
Comment threadmisc/README.md.erb Outdated

@olleolleolleolleolleolle left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Awesome!

syohexand others added 2 commits May 8, 2021 00:15
Co-authored-by: Olle Jonsson <olle.jonsson@gmail.com>

@olleolleolleolleolleolle left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you for improving the documentation! 🎉

@olleolleolle
olleolleolle merged commit 57a8303 into ruby:masterMay 7, 2021
@syohex
syohex deleted the typo branch May 7, 2021 16:02
ko1 added a commit that referenced this pull request May 10, 2021
Show more pretty backtrace like:
```
(rdbg) bt
=>#0 block{|i=0, j=nil|} (3 levels) in foo at ~/src/rb/target.rb:12
#1 [C] Integer#times at ~/src/rb/target.rb:11
#2 rescue in rescue in block (2 levels) in foo at ~/src/rb/target.rb:11
#3 rescue in block (2 levels) in foo at ~/src/rb/target.rb:8
#4 block (2 levels) in foo at ~/src/rb/target.rb:5
#5 [C] Integer#times at ~/src/rb/target.rb:4
#6 block{|e=2|} in foo at ~/src/rb/target.rb:4
#7 [C] Range#each at ~/src/rb/target.rb:3
#8 [C] Enumerable#map at ~/src/rb/target.rb:3
#9 Object#foo(a=3) at ~/src/rb/target.rb:3
#10 <main> at ~/src/rb/target.rb:20
```
ko1 added a commit that referenced this pull request Jul 8, 2021
```
[master]$ exe/rdbg target.rb -e 'b 6;; c'
DEBUGGER: Session start (pid: 6762)
[1, 10] in target.rb
1|
=> 2| def foo
3| bar
4| end
5|
6| def bar
7| baz
8| end
9|
10| def baz
=>#0 <main> at target.rb:2
(rdbg:commands) b 6
(rdbg:commands) c
[2, 11] in target.rb
2| def foo
3| bar
4| end
5|
6| def bar
=> 7| baz
8| end
9|
10| def baz
11| p :baz
=>#0 Object#bar at target.rb:7
#1 Object#foo at target.rb:3
# and 1 frames (use `bt' command for all frames)
Stop by #0 BP - Line /mnt/c/ko1/src/rb/ruby-debug/target.rb:6 (call)
(rdbg) bt
=>#0 Object#bar at target.rb:7
#1 Object#foo at target.rb:3
#2 <main> at target.rb:14
(rdbg) bt /bar|main/
=>#0 Object#bar at target.rb:7
#2 <main> at target.rb:14
```
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

@syohex@olleolleolle