ruby debug-options?

A

Andy Koch

Greetings,

I'm trying to use the ruby debugger, as in...

ruby -r debug [debug-options] [programfile] [program-arguments]

.. as described in Pick Axe.

I'm having some troubles, my script makes use of the Rails ActiveRecord
class (outside of Rails framework): and ActiveRecord apparently attempts
to clone FixNum objects when doing inserts. This causes a TypeError
exception which AR handles and goes about it's business. Ruby debug
reports this Exception and I "c"ontinue.

However, this error is driving me nuts in that it occurs about 50 times
and I can't find a way to suppress it.

I'd like to set some breakpoints and not worry about any Exceptions raised.

Is this possible?

I was hoping the "[debug-options]" would offer some hope for relief,
however I can not find any documentation of them. Other than this
reference to them within the Pick Axe.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top