RUBY: Use netbeans debug Ruby

Source: Internet
Author: User
Tags netbeans

Use netbeans debug RubyCode

Netbean debug Ruby

Debug Ruby code in netbeans

1. Get the gems package ruby-debug-ide-0.4.6.gem for ruby-debug-ide now I only see 0.4.6 and 0.4.5 available, and other high versions will always have issues 2. Install the gem package Start Menu-> Run-> cmd, enter the command line Input window to enter the directory where you store the ruby-debug-ide-0.4.6.gem package, then type the gem install ruby-debug-ide-0.4.6.gem, press ENTER 3. Enter netbeans, right-click the file you want to debug, select the debug file (CTRL + Shift + F5), and then you may be prompted to install the debugger, because I have installed it .... Select the quick debugger, and you will be able to complete the installation. 4. Of course, before debugging, you must set the breakpoint like this

 

Then step F7 (enter the function to be entered) and step F8 (if the function does not enter the function, if it is a single statement, the effect is the same as that of F7) you can also see these steps and steps through the toolbar above.

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.