Can I debug instantiated classes with RM?

Hello, all -

I have a strange situation. I can debuig in most of my code, but in one place I have a critical class that is instantiated via the name of the file. I can't seem to set breakpoints in that class, although I can step through it if I break in another class.

m = Regexp.new( '^([^\.]+)\.rb$' ).match( agent_characteristics['filename'] )

agent_class = Object.const_get( m[1] )

agents << agent_class.new

Why does this class not catch breakpoints? Or, is there another reason?

1 comment
Comment actions Permalink

Further data: In RubyMine's debug window, this class shows up gray rather than blue in the stack trace when an error occurs.

0

Please sign in to leave a comment.