Databases Reference
In-Depth Information
contrasting their debug output to see how changes you may have made might have affected the
processing or performance.
Enabling Debug
Turning interactive debugging on is a very straightforward process and can be done in one of two
ways: via the Developer Toolbar or via the URL. The Developer Toolbar will be visible if you are running
an application while you are also logged in to the application's parent workspace as a developer. Figure
6-4 shows the Developer Toolbar and highlights the Debug button, which toggles Debug mode on and
off.
Figure 6-4. APEX Developer Toolbar highlighting the Debug button
You may also enable Debug mode by setting the DEBUG component of the APEX URL to YES.
Following is both the URL syntax and an example of using the debug component to enable debug:
http://server/apex/f?p=App:Page:Session:Request:Debug:ClearCache
:ItemNames:ItemValues
http://server/apex/f?p=100:1:23929384838429::YES:::
However, it is important to note that the ability to use either of these methods is controlled by an
attribute in the application definition. Editing the application properties and navigating to the
Properties region on the Definition tab will allow you to turn the ability to interactively debug on or off.
By default the attribute is set to disallow interactive debugging.
Figure 6-5 shows the Properties region and indicates the debugging attribute that should be
changed in order to allow interactive debugging.
Figure 6-5. The Properties region of the application definition where interactive debugging is enabled or
disabled
Search WWH ::




Custom Search