Frame, stream and some other jargons in a ruby-debugging pearl, what do they mean?

Now I am trying to study a ruby ​​debug stone, but there are many jargons that I cannot catch up with. I wonder if anyone can help with the explanations?

I could not find them at http://bashdb.sourceforge.net/ruby-debug.html . The author suggested that we already understand them (where can I find out about them anyway?).

For example, here is the result of a call help framein rdb. I helplessly do not understand all the objects that I have selected.

Move the current frame to the specified frame .

A negative number indicates a position from the other end. So, frame -1 moves to the oldest frame, and frame 0 moves to the newest frame.

Without an argument, the command pops the current frame stack . since the current position is displayed repeatedly, this can lead to resynchronization if there is a front end also looking over things.

If the thread number is specified , then we set the context for evaluating the expression in this frame of this thread.

+3
source share
2 answers

Ruby ; .

, :

/usr/local/rvm/gems/ree-1.8.7-2010.02/gems/redgreen-1.2.2/lib/redgreen.rb:28:in `write': Broken pipe (Errno::EPIPE)
from /usr/local/rvm/gems/ree-1.8.7-2010.02/gems/redgreen-1.2.2/lib/redgreen.rb:28:in `output_single'
from /usr/local/rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:72:in `add_fault'
from /usr/local/rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:70:in `to_proc'
from /usr/local/rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/test/unit/util/observable.rb:78:in `call'

" ". - , , , , . , " ". , , . frame -1, . , . , , , . . , , , .

, .

, , () . , , , , . , . , : , . , GUI .

, , () , .. .

, Rails, Rails ( ) , .

+5
. . Ruby Rails ( ), , - Ruby/Rails, (- + Ruby/Rails) .

:

, , .

, , , (, GNU/Emacs) , . ( GNU/Emacs .) , , , .

, Emacs ddd, , , vim.

+1

Source: https://habr.com/ru/post/1762043/


All Articles