12.07.2015 Views

Oracle SQL Developer

Oracle SQL Developer

Oracle SQL Developer

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Running and Debugging Functions and Procedures■ The Dependencies tab shows any objects that this function or procedurereferences, and any objects that reference this function or procedure.The Source tab toolbar has the icons shown in the following figure.■■■Run starts normal execution of the function or procedure, and displays the resultsin the Running - Log tab.Debug starts execution of the function or procedure in debug mode, and displaysthe Debugging - Log tab, which includes the debugging toolbar for controlling theexecution.Compile performs a PL/<strong>SQL</strong> compilation of the function or procedure.■ Compile for Debug performs a PL/<strong>SQL</strong> compilation of the function or procedureso that it can be debugged.The Debugging - Log tab under the code text area contains the debugging toolbar andinformational messages. The debugging toolbar has the icons shown in the followingfigure.■■■■■■■■Find Execution Point goes to the next execution point.Resume continues execution.Step Over bypasses the next method and goes to the next statement after themethod.Step Into goes to the first statement in the next method.Step Out leaves the current method and goes to the next statement.Step to End of Method goes to the last statement of the current method.Pause halts execution but does not exit, thus allowing you to resume execution.Terminate halts and exits the execution. You cannot resume execution from thispoint; instead, to start running or debugging from the beginning of the function orprocedure, click the Run or Debug icon in the Source tab toolbar.■ Garbage Collection removes invalid objects from the cache in favor of morefrequently accessed and more valid objects.The Breakpoints tab under the code text area displays breakpoints, bothsystem-defined and user-defined.The Smart Data tab under the code text area displays information about variablesassociated with breakpoints.The Data tab under the code text area displays information about all variables.The Watches tab under the code text area displays information about watchpoints.For more information about developing, compiling, and using PL/<strong>SQL</strong> functions andprocedures, see Subprograms and Packages: Usage Information.<strong>SQL</strong> <strong>Developer</strong> Concepts and Usage 1-15

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!