# Listing methods within the debugger

**URL:** <https://www.ruby-forum.com/t/listing-methods-within-the-debugger/142445>\
**Category:** Ruby\
**Created:** [July 8, 2008, 2:06am UTC](https://www.ruby-forum.com/t/listing-methods-within-the-debugger/142445 "2008-07-08T02:06:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmaenpaa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9de053/32.png) [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Post date:** [July 8, 2008, 2:06am UTC](https://www.ruby-forum.com/t/listing-methods-within-the-debugger/142445/1 "2008-07-08T02:06:13Z")

</div>

Hey chaps,

I have this line within ~/.irbrc, IRB.conf[:USE\_READLINE] = true that  
starts the debugger. Very handy for me. but check this out;

(rdb:1) var local  
ap\_path =\> “/usr/bin/irb”  
k =\> #TCPSocket:0xb7f572d0  
(rdb:1) k.methods  
[“methods”, “respond\_to?”, “reject”, …  
… extract  
…  
“to\_i”]

(rdb:1) m k  
Should be Class/Module: k

does `m` just show the methods that one has defined within an irb  
session when the debugger is called?

- jjm
