Wednesday, September 1, 2010

Debugging across pojects

We're developing a large ADF / WebCenter application.
And since we're not surgeons, we make mistakes.
To investigate what goes wrong, you can use debugging.
But how can you debug source that is created not in the main project, but in another project, which deployment is included as a library?

1: Open the main project
2: Select Navigate | Go to Javatype (or press CTRL-Minus)
3: Enter the name of the class you want to debug and that is coded in an included project
4: Set the breakpoint
5: Debug the application

When the breakpoint is reached, your application will stop and control is handed to JDev for debugging.