# Any irb info or debug techniques

**URL:** <https://www.ruby-forum.com/t/any-irb-info-or-debug-techniques/99846>\
**Category:** Ruby\
**Created:** [July 25, 2006, 10:30pm UTC](https://www.ruby-forum.com/t/any-irb-info-or-debug-techniques/99846 "2006-07-25T22:30:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bitsmith](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/9de053/32.png) [@bitsmith](https://www.ruby-forum.com/u/bitsmith)\
**Post date:** [July 25, 2006, 10:30pm UTC](https://www.ruby-forum.com/t/any-irb-info-or-debug-techniques/99846/1 "2006-07-25T22:30:06Z")

</div>

…how do you use irb to interactively debug a while/end group to single  
step  
it a line @ time…and on the fly change stmts from within the loops  
body  
without having to stop it and paste a whole newly revised group?  
…and… an techniques in using it to interactively create a whole  
program  
from scratch??

---

<div class="post-metadata">

**Author:** ![bitsmith](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/9de053/32.png) [@bitsmith](https://www.ruby-forum.com/u/bitsmith)\
**Post date:** [July 25, 2006, 10:42pm UTC](https://www.ruby-forum.com/t/any-irb-info-or-debug-techniques/99846/2 "2006-07-25T22:42:28Z")

</div>

On Wed, 26 Jul 2006, Dave R. wrote:

> …how do you use irb to interactively debug a while/end group to single  
> step  
> it a line @ time…and on the fly change stmts from within the loops  
> body  
> without having to stop it and paste a whole newly revised group?  
> …and… an techniques in using it to interactively create a whole  
> program  
> from scratch??

google ruby breakpoint - it’s amazing.

-a
