tailieunhanh - HandBooks Professional Java-C-Scrip-SQL part 47

Tham khảo tài liệu 'handbooks professional java-c-scrip-sql part 47', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Ruby in a Nutshell By Yukihiro Matsumoto Chapter 5. Ruby Tools As a matter of course in Ruby you edit your Ruby program and then feed it to the interpreter. Theoretically the editor and interpreter are all you need to program Ruby. But you can get help from other tools. In this chapter you will find descriptions of tools to help Ruby programmers. Top Ruby in a Nutshell By Yukihiro Matsumoto Chapter 5. Ruby Tools Standard Tools The standard Ruby distribution contains useful tools along with the interpreter and standard libraries debugger profiler irb which is interactive ruby and rubymode for Emacs. These tools help you debug and improve your Ruby programs. Debugger It doesn t matter how easy a language is to use it usually contains some bugs if it is more than a few lines long. To help deal with bugs the standard distribution of Ruby includes a debugger. In order to start the Ruby debugger load the debug library using the command-line option -r debug. The debugger stops before the first line of executable code and asks for the input of user commands. Here are the debugger commands b reak file class line method Sets breakpoints wat ch expression Sets watchpoints b reak Displays breakpoints and watchpoints del ete n Deletes breakpoints disp lay expression Displays value of expression undisp lay n Removes display of n c ont Continues execution s tep n Executes next n lines stepping into methods n ext n Executes next n lines stepping over methods w here Displays stack frame f rame Synonym for where l ist - n- m Displays source lines from n to m up n Moves up n levels in the stack frame down n Moves down n levels in the stack frame fin ish

TÀI LIỆU LIÊN QUAN
10    127    1
6    150    1
7    127    1
5    125    1
6    127    1
6    115    1
6    122    1
6    174    1
7    122    1
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.