Introduction to the ADF Debugger

Not that you'll ever need this blog entry - after all there are never bugs in the code that YOU write. But maybe one day one of your peers will ask you for help debugging their ADF application so here we go...

One of the cool features of JDeveloper and ADF is the ADF Debugger - a way to debug the declarative pars of Oracle ADF. The debugger goes beyond your regular Java debugger and shows you in a clear way specific information related to Oracle ADF - things like where are you in the taskflow/region hierarchy, what is in your various scopes, what is the value of a specific EL and much more.

However, from the number of posts on OTN where people are saying "I placed a System.out.println() to see what the value was...", it seems that not many are familiar with the power of the debugger.

So here is a short demo that shows you some aspects of the debugger such as:

  • Setting breakpoints on various ADF artifacts
  • The ADF structure window
  • The ADF Data window
  • The EL Evaluater window

Want to learn more about debugging ADF applications - I highly recommend that you go back in time to 2009 and attend Steve Muench's OOW presentation about ADF debugging. Can't travel in time yet? Then the second best option is to look at his very clear ADF Debugging Slides, which were the inspiration to the above demo.


Hi Shay,
I want to create sequence diagrams for my flow using jdeveloper 11.1.
Previous versions of jdeveloper supported option of creating sequence diagram using jdeveloper debugger , but i am unable to create the diagram using 11.1. Can you please suggest me a way to generate the sequence diagrams using 11.1.


Posted by tripuresh on June 26, 2012 at 05:36 AM PDT #

Tripuresh, unfortunately the sequence diagram and debugger integration was removed from the product when we stopped using the OJVM and switched to use the regular JVM instead. You can still manually create sequence diagrams.

Posted by Shay on June 26, 2012 at 10:45 PM PDT #

Ok, Thanks a lot Shay

Posted by Tripuresh on June 26, 2012 at 11:59 PM PDT #

Hi Shay,
Great tutorial. Regarding the sequence diagram feature that Tripuneshi was talking about, is there hope for a return of this feature in the future even with the regular JVM? It's one of the best features that made JDeveloper stand out among the other IDEs. :(


Posted by Jan on July 06, 2012 at 12:43 PM PDT #

laxmi.19688@gmail.hi.....this is laxmi.... How to use createContact feature in adf Mobile application... I am using jdeveloper 11g 2 R... contacts are not at all getting stored into phones contact book... plz suggest any way to do it... thanks.....

Posted by guest on March 14, 2013 at 07:53 AM PDT #

Guest - Check out the device integration sample for code that shows you interaction with contacts:

Posted by Shay on March 14, 2013 at 03:18 PM PDT #

Hi Shay,

That device integration sample does not demonstrate creating a new contact. I have tried using the createContact method of the DeviceFeatures data control as well as JavaScript (PhoneGap) that already comes with AMX. I have gone through every Oracle document on this and tried them all but still I am unable to create a contact in my Android emulator.

Can you kindly help me in this regard?

Thanks and regards,
Ayon Ghosh

Posted by guest on March 15, 2013 at 07:48 AM PDT #

Hi Shay,

I found what I was missing out on. PhoneGap tries to sync newly added contacts with an online account. Since I had not signed into an account on my emulator my contact was not getting saved.

Is there any way in ADF Mobile to save a contact only to the local phone database and not sync it with an online account?

Thanks and regards,
Ayon Ghosh

Posted by guest on March 19, 2013 at 06:24 PM PDT #

hey shay,
thanks for the insides in ADF, in one of your seminars, you did a housedemo application, was wondering if you could give me the complete schema so that i can follow up.

Posted by guest on May 13, 2013 at 01:20 AM PDT #

nissi - you can get an export file of the database for the houses demo here:

Posted by Shay on May 13, 2013 at 11:00 AM PDT #

Hi Shay,

I'd like to read about the ADF Debugger in your post here:

But it doesn't seem like the link to Steve's ADF debugging slides works very well. At least, the site it takes me too is a mess of plain HTML. Can you update this post with an updated link if possible?


Posted by Candace on November 21, 2013 at 10:42 AM PST #

Seems like the slides got lost somewhere in the Internet when the blogs moved to a new platform. Hopefully my video in this blog will get you through.

Posted by Shay on November 21, 2013 at 11:25 AM PST #

Hi shay,
can you provide me db schema for house demo , which you shown in the oracle virtual developer day

Posted by rajendar on August 26, 2014 at 11:01 AM PDT #

Rajendar - the schema for the houses demo is here:

Posted by Shay on August 27, 2014 at 09:03 AM PDT #

I want to change styling of dvt's components only from skyros to alta and rest want the same. So how can i do it?

Please reply as soon as possible.

Posted by guest on September 10, 2015 at 11:23 PM PDT #

hi shay ,
can i have your email ?

Posted by guest on November 07, 2015 at 10:03 AM PST #

Post a Comment:
  • HTML Syntax: NOT allowed

I'm a Director of Product Management for Oracle's Cloud Development Tools and Frameworks.
Follow me:

« July 2016