# Debugging

**URL:** <https://rubytalk.org/t/debugging/5101>\
**Category:** ruby-talk\
**Created:** [11 March 2003 11:45 UTC](https://rubytalk.org/t/debugging/5101 "2003-03-11T11:45:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramakrishnan\_Subrama](https://avatars.discourse-cdn.com/v4/letter/r/9fc348/32.png) [@Ramakrishnan\_Subrama](https://rubytalk.org/u/Ramakrishnan_Subrama)\
**Post date:** [11 March 2003 11:45 UTC](https://rubytalk.org/t/debugging/5101/1 "2003-03-11T11:45:45Z")

</div>

Hi!!  
ppl.I am trying to debug a Ruby program.are there any debug tools.  
.I am a newbie.kindly help

Cheers  
RKS

---

<div class="post-metadata">

**Author:** ![Hugh\_Sasse](https://avatars.discourse-cdn.com/v4/letter/h/d6d6ee/32.png) [@Hugh\_Sasse](https://rubytalk.org/u/Hugh_Sasse)\
**Post date:** [11 March 2003 12:01 UTC](https://rubytalk.org/t/debugging/5101/2 "2003-03-11T12:01:21Z")

</div>

> Hi!!  
> ppl.I am trying to debug a Ruby program.are there any debug tools.  
> .I am a newbie.kindly help

ruby -r debug thingy.rb

It feels rather like dbx or gdb.  
See the “When Trouble Strikes” chapter of Programming Ruby  
[http://www.ruby-doc.org/docs/ProgrammingRuby/](http://www.ruby-doc.org/docs/ProgrammingRuby/)

> Cheers  
> RKS

```
    Hugh

```

> **···**
>
> On Tue, 11 Mar 2003, Ramakrishnan Subramanian wrote:
> 
> >

---

<div class="post-metadata">

**Author:** ![Seth\_Kurtzberg1](https://avatars.discourse-cdn.com/v4/letter/s/41988e/32.png) [@Seth\_Kurtzberg1](https://rubytalk.org/u/Seth_Kurtzberg1)\
**Post date:** [11 March 2003 18:45 UTC](https://rubytalk.org/t/debugging/5101/3 "2003-03-11T18:45:59Z")

</div>

ruby -r debug

> **···**
>
> On Tuesday 11 March 2003 04:45 am, Ramakrishnan Subramanian wrote:
> 
> > Hi!!  
> > ppl.I am trying to debug a Ruby program.are there any debug tools.  
> > .I am a newbie.kindly help
> > 
> > Cheers  
> > RKS
> 
> –  
> Seth Kurtzberg  
> M. I. S. Corp.  
> 480-661-1849  
> [seth@cql.com](mailto:seth@cql.com)
