MattsBits
MattsBits - Brunel District

MattsBits

MattsBits RSS Feed - Subscribe Now!

16/04/2009 : APEX Custom Debug Messages

Categories : | APEX | Views : 531 | Email Link Print

In order to add debug messages to APEX pages you can use the following syntax :

wwv_flow.debug('This is my debug message');


You can use PLSQL variables or APEX page items :

wwv_flow.debug('### The value of P1_TEST_ITEM is ' || :P1_TEST_ITEM);


The three ###s make the debug message stand out from the numerous other APEX messages.

You can even include HTML tags to make your debug messages stand out from the Oracle debug text :

wwv_flow.debug('<font color="red">P1_TEST_ITEM = ' || :P1_TEST_ITEM || '</font>');


In order to enable debug mode in APEX you can either use the developer toolbar at the bottom of the page or insert YES into the 5th URL position (see APEX URL Construction)

Technorati Tags : | oracle | apex | debug | plsql |

Author : Matt Hawkins  Last Edited By : Matt Hawkins  Permalink : APEX Custom Debug Messages
 
 
 
PHP Powered  MySQL Powered  Valid XHTML 1.0  Valid CSS  Firefox - Take Back The Web  EUKHost - Recommended Webhosting Solutions

MattHawkins CMS v2.0 - Copyright 2009-2010