2

When step-debugging in eclipse, is it possible to instruct the debugger to traverse only steps within my project's sources?

I am debugging a rails application and much of the calls are moving through rails' infrastructure (such as activerecord) which I am not interested in following. I would prefer the step-debugger to skip these files, instead hitting the next line within my own source files.

shmichael
  • 2,985
  • 3
  • 25
  • 32

2 Answers2

1

I don't think you can prevent Eclipse to "Step into" a code, even if it isn't directly part of your project.

The only filtering in place is provided with Mylyn, in order to help you to focus on "the current task" at hand, with a "context" you help define!

Java Task Top

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • Is the context enforced while step debugging? – shmichael Jul 06 '10 at 07:10
  • @shmichael: that I am not sure about: step into is likely to go into a third-party code (if sources are there), potentially *expending* the scope. – VonC Jul 06 '10 at 07:11
0

It is possible in Java. I don't know if Ruby debugger in Eclipse has so mature as the Java one or not. Read this.

nanda
  • 24,458
  • 13
  • 71
  • 90
  • Thanks. It does indeed seem that Step Filters aren't supported in RadRails. – shmichael Jul 18 '10 at 12:11
  • Since the linked page seems to be down, here's a Internet Archive link for all future visitor's convenience: http://web.archive.org/web/20100728102110/http://blog.firdau.si/2009/08/24/eclipse-tips-debugging-ignoring-certain-classes-from-being-stepped-into/ (Unfortunately, the images do not seem to be archived.) – Hauke P. Jun 17 '13 at 00:16