Tuesday, September 16, 2008

Debugging Tip - Dump all scopes

I came across a nice debugging tip on Dan Vega's blog. He shows how you can display the contents of most all scopes using getPageContext().getBuiltInScopes()

Obviously the usual cautions apply. 1) It is an undocumented function, so use it at your own risk. 2) It really does dump all scopes. So it is not suitable for production environments where you might accidentally be displaying sensitive information.


  © Blogger templates The Professional Template by Ourblogtemplates.com 2008

Header image adapted from atomicjeep