Latest news

JavaRebel 1.1.2 Released

An incremental update to the stable branch of JavaRebel....

Get a free JavaRebel license

We will give away 50 personal JavaRebel licenses to those who register first. Also personal licenses will be discounted to $49 unt...

JavaRebel offers free licenses to JavaBlackBelt brown belts

JavaRebel offers permanent licenses to all JavaBlackBelt's brown belts. This is a personal 1 seat commercial license that you can ...

Configuring IDE Debugging with JavaRebel

March 4th, 2008 by Jevgeni Kabanov

One of the inconveniences that our users frequently report is stepping in/out of the code managed by JavaRebel. However we have found that most IDEs today provide a way to filter out JavaRebel methods and in this article we will show how to configure Eclipse and IDEA to make your debugging as pleasant as ever.

To configure Eclipse go to Window -> Preferences and from there to Java -> Debug -> Step Filtering (or just search for “Step filtering”). Enable step filters and “Filter synthetic methods”. Make sure that “Step through filters” is also on. Now enable all the default filters and add three package ones:

  • RebelMethodAccessor*
  • com.zeroturnaround.*
  • org.zeroturnaround.*

Result should look like this:

In IntelliJ Idea open up debugger properties (File - Settings - Debugger). On the lower left corner of the debugger settings page make the necessary changes. Be sure to tick “Skip synthetic methods” checkbox and add the necessary class filters. See screenshot:

3 Responses to “Configuring IDE Debugging with JavaRebel”

  1. Peter Felbur Says:

    Eclipse is still giving me “Source not found” pages in Java Editor when I try to step into a class (F5). In the call stack I see MyAction.__rebel_accessor__() on top and the class and method I’m trying to step into on the line below.

    This is existing code but was reloaded by Rebel.

  2. Jevgeni Kabanov Says:

    Are you using the latest nightly build? Not everything was marked as synthetic before.

  3. ZeroTurnaround.com » Blog Archive » JavaRebel 1.1 Released Says:

    […] Improved debugging. No need to step through generated methods anymore, see this article. […]

Leave a Reply