Shay Shmeltzer's Oracle Development Tools Tips

Introduction to the ADF Debugger

Shay Shmeltzer
Director of Product Management - Oracle

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.

Join the discussion

Comments ( 16 )
  • tripuresh Tuesday, June 26, 2012

    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.



  • Shay Wednesday, June 27, 2012

    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.

  • Tripuresh Wednesday, June 27, 2012

    Ok, Thanks a lot Shay

  • Jan Friday, July 6, 2012

    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. :(



  • guest Thursday, March 14, 2013

    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.....

  • Shay Thursday, March 14, 2013

    Guest - Check out the device integration sample for code that shows you interaction with contacts: http://www.oracle.com/technetwork/developer-tools/adf/adf-mobile-samples-1865088.html

  • guest Friday, March 15, 2013

    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

  • guest Wednesday, March 20, 2013

    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

  • guest Monday, May 13, 2013

    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.



  • Shay Monday, May 13, 2013

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


  • Candace Thursday, November 21, 2013

    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?



  • Shay Thursday, November 21, 2013

    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.

  • rajendar Tuesday, August 26, 2014

    Hi shay,

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

  • Shay Wednesday, August 27, 2014

    Rajendar - the schema for the houses demo is here: https://blogs.oracle.com/shay/resource/mls_new.dmp

  • guest Friday, September 11, 2015

    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.

  • guest Saturday, November 7, 2015

    hi shay ,

    can i have your email ?

Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.