[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Ruby debuggers?

Jim Phillips

8/12/2007 9:34:00 PM

I am far enough into learning Ruby so that I need to track down problems
that can't be solved just by examining the source. So far I have been
using the built-in debugger that comes with Ruby, which works fine, but
has all the drawbacks of the Perl debugger - i.e., it is command line
driven and slow.

I prefer the command line on most stuff except for debugging. There just
isn't enough room for data to fit on the screen and what is there scrolls
off fast. Piping it to an editor or file captures everything, but that
requires another operation to inspect and is always after-the-fact.

Perl has a great little tool in the ptkdb debugger that is a gui and
lets you grasp a much bigger part of the problem you are trying to solve
and in real time, so to speak. Alas, while TK works with Ruby pretty good,
the debug tool doesn't.

Question. Is there a more sophisticated troubleshooting tool for Ruby
available yet (for Linux)? I been googling without much luck so far,
although on a 24k dialup it may be several months before I get to the
bottom of the list. (In this part of the country you have to pay AT&T
extra for broadband - that is to say, 56k dialup).

Thanks all
Jum Phillips

14 Answers

Wayne Seguin

8/13/2007 3:45:00 AM

0

On Aug 12, 2007, at 22:34 , Jim Phillips wrote:
> I am far enough into learning Ruby so that I need to track down
> problems
> that can't be solved just by examining the source. So far I have been
> using the built-in debugger that comes with Ruby, which works fine,
> but
> has all the drawbacks of the Perl debugger - i.e., it is command line
> driven and slow.
>
> I prefer the command line on most stuff except for debugging. There
> just
> isn't enough room for data to fit on the screen and what is there
> scrolls
> off fast. Piping it to an editor or file captures everything, but
> that
> requires another operation to inspect and is always after-the-fact.
>
> Perl has a great little tool in the ptkdb debugger that is a gui and
> lets you grasp a much bigger part of the problem you are trying to
> solve
> and in real time, so to speak. Alas, while TK works with Ruby
> pretty good,
> the debug tool doesn't.
>
> Question. Is there a more sophisticated troubleshooting tool for Ruby
> available yet (for Linux)? I been googling without much luck so far,
> although on a 24k dialup it may be several months before I get to the
> bottom of the list. (In this part of the country you have to pay AT&T
> extra for broadband - that is to say, 56k dialup).
>
> Thanks all
> Jum Phillips

Command line: http://rubyforge.org/projects/... other than
that, ?

~Wayne


Pawel Stawicki

8/13/2007 8:24:00 AM

0

I use netbeans for ruby, debugger included.

Regards
PaweÅ? Stawicki

Florian Groß

8/13/2007 8:47:00 PM

0

> > I prefer the command line on most stuff except for debugging.
> Command line:http://rubyforge.org/projects/ruby-... than
> that, ?

And there's a GTK2 front end for ruby-debug available at
http://code.google.com/...

It could be somewhat outdated however.


Martin Krauskopf

8/14/2007 10:23:00 AM

0

Roger Pack

8/14/2007 8:55:00 PM

0

I think that radrails (eclipse) had plans on integrating ruby-debug, so
that might work.

Martin Krauskopf wrote:
> Jim Phillips wrote:
>> Question. Is there a more sophisticated troubleshooting tool for Ruby
>> available yet (for Linux)?
>
> There are bunch of them:
>
> http://debug-commons.rubyforge.org/misc/ruby-debuggin...
>
> Some of them might be outdated and not maintained anymore (the page
> needs update).
>
> I can recommend NetBeans Ruby debugger ;)
>
> http://wiki.netbeans.org/wiki/view/RubyDebugging#section-RubyDebugging-S...
>
> m.

--
Posted via http://www.ruby-....

Martin Krauskopf

8/15/2007 5:56:00 AM

0

aidy

8/15/2007 7:15:00 AM

0

On Aug 12, 9:34 pm, Jim Phillips <JPxx...@yahoo.com> wrote:

> Question. Is there a more sophisticated troubleshooting tool for > Ruby

Use Netbeans with Ruby support: http://bits.netbeans.org/download/6.0/mileston...

aidy



James Moore

8/15/2007 3:06:00 PM

0

On 8/15/07, aidy.lewis@googlemail.com <aidy.lewis@googlemail.com> wrote:
> Use Netbeans with Ruby support: http://bits.netbeans.org/download/6.0/mileston...

Yes on NetBeans, but I think you want to get the ruby bits from here
(I didn't see ruby support on the other page):

http://deadlock.netbeans.org/hudson...

- James

r

8/16/2007 10:04:00 AM

0

On Aug 12, 11:45 pm, "Wayne E. Seguin" <wayneeseg...@gmail.com> wrote:
> On Aug 12, 2007, at 22:34 , Jim Phillips wrote:
>
>
>
> > I am far enough into learning Ruby so that I need to track down
> > problems
> > that can't be solved just by examining the source. So far I have been
> > using the built-in debugger that comes with Ruby, which works fine,
> > but
> > has all the drawbacks of the Perl debugger - i.e., it is command line
> > driven and slow.
>
> > I prefer the command line on most stuff except for debugging. There
> > just
> > isn't enough room for data to fit on the screen and what is there
> > scrolls
> > off fast. Piping it to an editor or file captures everything, but
> > that
> > requires another operation to inspect and is always after-the-fact.
>
> > Perl has a great little tool in the ptkdb debugger that is a gui and
> > lets you grasp a much bigger part of the problem you are trying to
> > solve
> > and in real time, so to speak. Alas, while TK works with Ruby
> > pretty good,
> > the debug tool doesn't.
>
> > Question. Is there a more sophisticated troubleshooting tool for Ruby
> > available yet (for Linux)? I been googling without much luck so far,
> > although on a 24k dialup it may be several months before I get to the
> > bottom of the list. (In this part of the country you have to pay AT&T
> > extra for broadband - that is to say, 56k dialup).
>
> > Thanks all
> > Jum Phillips
>
> Command line:http://rubyforge.org/projects/ruby-... than
> that, ?
>
> ~Wayne

I suppose apropos of nothing in particular I'll mention that the
version of ruby-debug in SVN (tentatively scheduled as the version
0.9.4) has a number of changes, many of towards the command-line
aspect which make this more gdb-like. I've been working on user manual
and guide which right now (again tentatively) can be found at
http://bashdb.sf.net/ruby-... . Be warned however if you follow
that link or look a that guide that there are a number of features in
it that are not in 0.9.3.

Sheldon Cooper

1/27/2011 4:38:00 AM

0

On Jan 23, 11:35 am, Yoorg...@Jurgis.net wrote:
> On Sun, 23 Jan 2011 10:35:11 -0800 (PST), Sheldon Cooper
>
> <richarddead...@gmail.com> wrote:
> >> >You have hundreds of millions of Americans who contributed their
> >> >entire lives, and there's no money left.
>
> >> Nonsense, of course.
>
> >You want to call an Object fact "nonsense"?

> >There's nothing left in the "safebox" except IOUs from Uncle Sam.
> >It's all been squandered.

> Are you poor assholes just that dumb--or acting that way?

Oooooooo - you're getting touchie.

> There NO rational reason to "lock money" in any account or "box".

Of course there is - the money is supposed to be there to be paid
back. Now, there's none to pay back. This was supposed to be an
insurance investment plan. Instead, it's a ponzi scheme, and Madoff
made off with the cash.

>  It is unproductive, it irratonal, it is absolutely pure bullshit that any
> (ANY) financial operation idles money.

Excuse me - the money hasn't be invested - we're not looking at bonds,
stocks, or other interest baring accounts.

It's been pissed away buying votes for the Democrats.

It's gone.

Bankrupt.

At at a time of massive deficits, this will be yet another money pit
the taxpayers will have to cough up for.

> The "full faith and credit" of the US government accounts for the
> ability to pay debts as they arise.

And where are we going to get that money from? Soak the rich some
more? Higher taxes? Borrow?

Just how much money do you think is out there?

> >> The way it WILL continue---is to uncap the top end contributions
> >> because the massive amount of wealth held by the top 10% is a hundred
> >> times more than it was just 40 years ago.
>
> >Like I said, you're going to find new suckers.

> You think those poor assholes--investors, old lady's, retirees,
> elderly who took their money and invested it public
> investments----losing it ALL to Wall street and Investment bankers
> schemes that the GOP congresses, Reagan and Bush caused----aren't
> devastated?

Excuse me, but the Dow just topped 12,000 today. People in the market
are doing just fine right now. the people who count on Social
Security are the ones who are screwed.

> What the fuck are a couple hundred million americans going to do if
> their money is invested in accounts that collapse a few years prior to
> retirement?  If their accounts are "insured"---and haven't been paying
> into an "insurance" that the Federal government say backs
> accounts---this nation could collapse totally

You're counting on the market crashing and burning under Obama?

> You dumb assholes are so susceptible to propaganda---you can't think
> past the "message" and figure out that "self-investment" for old age
> only is possible for those who earn incomes with an ability to have
> income LEFT OVER from living expenses.  

Are you under the impression that most Americans live on a sack of
beans once a month?

I've ALWAYS assumed that Social Security wouldn't be around for me -
and I've planned accordingly.

> THere are now hundreds of thousands of investors (including state run
> retirement accounts) that lost Billions in the latest schemes set up
> by Republicans from their years in the majority.
>
> IDIOT.

(snicker) What's the matter, bucky? Nobody's buying this bullshit
anymore?

>
> >> The term "social security" is the obvious solution to a NATIONAL
> >> problem dealing with a range of things from minimal payments to
> >> retiree's, disabled, orphaned children, widows, etc.
>
> >The term is "Social Security INSURANCE".  Something people buy by
> >themselves, for themselves.  It wasn't sold as a giveaway program.
>
> Yer point---being what?

> There are more people who exist on little or no income---which is what
> your party prefers as wage earners.

And yet you're the party of billionares. I know, let's pushing
working couples who manage to $125.00 a year.

> >> Raising retirement age, redoing the contribution cutoff level, will
> >> "add to" the existing amout we STILL have.

> >The problem is that, if SSI is nothing more than a giveaway for the
> >Democrats, additional funds will simply be given away.

> Absured claim

It's abusre but true. Democrats get in more money, they spend more
money.

> >> Had the GOP's "plan" to privatize retirement been in place---the
> >> entire fortunes of a nation would be wiped out by the fortunes of the
> >> market. (and Bernie Madoff who did, in fact, leave thousands
> >> destitute)
>
> >Putting aside for the moment that the Dow currently enjoys record
> >levels - the Dow has NEVER hit "zero".

> Putting aside that there is NO guarantee that any retiree could retire
> with the DOW on the positive side, investments enough to cover
> retirement, and/or a guarantee of COLA.

Meanwhile, that same retiree has NOTHING in social security. It's
bankrupt. No money in the box. Nothing but promises.


> >Right now, people who spent their lives having $7,500.00 a year taken
> >(against their will) and put into the SSI "lock box" have LITERALLY
> >NOTHING.
>
> They have exactly what they signed up to get---and will

You sound very much like Bernie Madoff just before the shit hit the
fan.

> THere is no truth to the bullshit claim, "there is no money"

Except for the part where there IS NOT MONEY! THE DEMOCRATS SPENT IT
ALL, AND ALL THAT'S LEFT ARE IOUs. JUST LIKE BERNIE MADOFF.

> >Even Bernie had SOME money left at the end of the day.  

> None of it his.

And the money the Democrats squandered wasn't their money, either.
Something they should remember.