[Mondrian] Setting up Eclipse for Mondrian

Nicholas Goodman ngoodman at bayontechnologies.com
Thu Feb 18 22:11:44 EST 2010

On Feb 18, 2010, at 5:46 PM, mydb mydb wrote:
> I want to use the debugging (using eclipse or other IDE) for simple
> CommandRunner executions as well as for using jPivot tables (using
> http://localhost:8080/mondrian) and running sample queries.

I'd suggest you start tomcat with remote debugging enabled.  (Disclaimer: some of this is JDK version specific)

Step 1) Create a java project, import mondrian src (it doesn't have to compile)

Step 2) Add the following to CATALINA_OPTS
-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n

Step 3) Setup a remote debug launch config

When you hit breakpoints (you have to set them in Eclipse) you should be able to step through the code in the Eclipse debugger.

Good Luck!

PS - I follow this approach on occasion when debugging the Pentaho platform

More information about the Mondrian mailing list