# Debugger pains

**URL:** <https://www.ruby-forum.com/t/debugger-pains/181405>\
**Category:** Ruby\
**Created:** [January 11, 2010, 3:02pm UTC](https://www.ruby-forum.com/t/debugger-pains/181405 "2010-01-11T15:02:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tutiplain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/77aa72/32.png) [@tutiplain](https://www.ruby-forum.com/u/tutiplain)\
**Post date:** [January 11, 2010, 3:02pm UTC](https://www.ruby-forum.com/t/debugger-pains/181405/1 "2010-01-11T15:02:02Z")

</div>

Hi all,

I am testing a script using the built-in debugger (running 1.8.6 -  
windows - one click installer version). I want to set a breakpoint on a  
particular method. The problem is, my first line is

require’sqlite3’

which causes the debugger to start in the rubygems.rb script. Of course  
I don’t want to debug the require script. How can I make the debugger  
skip this?

---

<div class="post-metadata">

**Author:** ![tutiplain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/77aa72/32.png) [@tutiplain](https://www.ruby-forum.com/u/tutiplain)\
**Post date:** [January 11, 2010, 6:03pm UTC](https://www.ruby-forum.com/t/debugger-pains/181405/2 "2010-01-11T18:03:07Z")

</div>

On Mon, Jan 11, 2010 at 15:02, tuti plain [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> skip this?  
> [http://theshadowaspect.com/posts/debugging-ruby.html](http://theshadowaspect.com/posts/debugging-ruby.html)

or

require ‘rdebug’  
…  
breakpoint

i’m not sure about this. check rdebug documentation how exactly write  
it. In short,  
you can set breakpoints either from debugger ui, or by writing calls  
directly in the code.

warning: it’s been long time since I used this, so details might be  
wrong.
