Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 809017
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T00:39:30+00:00 2026-05-15T00:39:30+00:00

I am able to debug my ruby program. At times, I would want to

  • 0

I am able to debug my ruby program. At times, I would want to go inside the library methods and see what is happening. How to achieve it in Ruby.

For example,

[ 3, 1, 7, 0 ].sort

i would want to go inside the sort method and see how that works lively. In Java+Eclipse this is possible, all I have to do is to attach the source of Foundation classes in Eclipse. Is it possible in Ruby with Netbeans as IDE?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T00:39:31+00:00Added an answer on May 15, 2026 at 12:39 am

    For those methods which are implemented in Ruby, the debugger will just step into them.

    For those methods which are not implemented in Ruby, i.e. they are implemented in C in MRI, YARV and tinyrb, in Java in JRuby and XRuby, in C# in IronRuby and Ruby.NET, in Smalltalk in MagLev and SmallRuby, in ABAP in BlueRuby, in Go in RubyGoLightly, in C++ in Rubinius or in Objective-C in MacRuby, the NetBeans Ruby plugin contains a stub method that only lists the method signature and the RDoc comments, but not the actual implementation.

    The NetBeans Ruby debugger is, after all, a Ruby debugger, it doesn’t know how to step into C, C++, Objective-C, C#, Smalltalk, ABAP or Java.

    It would probably be possible to somehow link together the Ruby debugger with, say, the C++ debugger (provided that you have installed the NetBeans C++ plugin), but nobody has done that work yet.

    In your specific case, in almost all Ruby implementations, Array#sort is not implemented in Ruby. The only exception is probably Rubinius, but I don’t know whether Rubinius is supported by the NetBeans Ruby plugin (I use Windows and Rubinius isn’t supported on Windows).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 511k
  • Answers 511k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Ok, I got the answer :-): I first tried to… May 16, 2026 at 5:17 pm
  • Editorial Team
    Editorial Team added an answer The transformation matrix they are referring to is the common… May 16, 2026 at 5:17 pm
  • Editorial Team
    Editorial Team added an answer The biggest "gotcha" I've run into is that it's illegal… May 16, 2026 at 5:17 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I would be thankful for any help on this: I want to write an
Ruby-debug is getting hung up by breaking on the break ruby reserved word on
I am trying to use ruby-debug to debug my specs. When i do this,
I followed these steps to be able to debug in the .Net framework code.
I'm currently writing a program that has debug output strewn throughout it. This is
I am writing a web based debugger for Ruby, but in order to do
In Matlab, I recall being able to declare an array and initialize it and
I'm not exactly sure how to properly debug this but have tried a few
Working on a little Ruby script that goes out to the web and crawls
I cannot seem to be able to figure out why I receive: Fatal error:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.