if you have this file
~\Quest\Toad for Oracle\TOADServerSide.exe
you can run it to install server side objects...
Main Topics
Browse All TopicsQ1. In TOAD, i see an option "Run to Cursor" on the shortcuts menu right on the top of TOAD window.
The icon is located next to the Step Over, Trace Into, Trace Out, and then Run Into Cursor.
What is this, and what does this do, and how do I use it.
Please give an example.
Q2. In the window down at the bottom of the screen, I also see REF CURSOR Results. Is this option somehow related to the above option.
Q3. I want to see profiler info. in TOAD. For this I press the Toggle Pl/Sql profiling button, and Execute the procedure.
I get an error :
ORA-06550: line 2, column 3:
PLS-00201: identifier 'TOAD_PROFILER.ROLLUP_ALL_
ORA-06550: line 2, column 3:
PL/SQL: Statement ignored
Why do I get this error, and how can i overcome it.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
The debugging will only work if you have the correct license for toad
Some licenses don't have debugging enabled
Next the user with which you logon to the database also needs debugging priviliges:
ask your dba to grant following to the user you login with:
grant DEBUG ANY PROCEDURE to YOUR_USER;
grant DEBUG CONNECT SESSION to YOUR_USER;
Q1. In TOAD, i see an option "Run to Cursor" on the shortcuts menu right on the top of TOAD window.
The icon is located next to the Step Over, Trace Into, Trace Out, and then Run Into Cursor.
What is this, and what does this do, and how do I use it.
answer :run to cursor executes thr proc/function until the line containg the mouse cursor reached.
=====
Q2. In the window down at the bottom of the screen, I also see REF CURSOR Results. Is this option somehow related to the above option.
answer: no
=======
Q3
Answer
1. Make sure you have the SYS.DBMS_PROFILE package or load the RDBMS\ADMIN\PROFLOAD.SQL script if you do not have the package. Make sure that GRANT EXECUTE on the DBMS_PROFILE package has been granted to PUBLIC or the users that will use the profiling feature. DBMS_PROFILER must be installed as SYS.
2. Run the TOAD Profiler.SQL script. You can find a copy of the script in the TOAD\temps folder. This script will create the tables, package, synonyms, and grants required to do profiling. better installing these objects in the TOAD schema, but you can select whatever schema is appropriate to your environment.
And from the header in TOADProfiler.sql:
better that you run this script in the TOAD schema. Alternatively, you could install these objects in the SYSTEM schema. If you elect to install these objects in a private user schema, do NOT run the GRANTS at the bottom of the script. Usage of these objects is not fully qualified, e.g., [insert into plsql_profiler_data ...] It relies on the objects to exist in the same user schema or be resolved via public synonyms to toad.plsql_profiler_data, system.plsql_profiler_data
1.) Make sure the user has not executed PROFLOAD.SQL in their own schema. It should be installed as SYS ONLY.
2.) Make sure GRANT EXECUTE ON DBMS_PROFILE has been granted to PUBLIC (optionally only to users using TOAD Profiler)
3.) Make sure TOADProfiler.sql was executed in TOAD or SYSTEM schema OR if TOADProfiler.sql was executed in 'private' schemas instead of as SYSTEM or TOAD then make sure they did not execute the grants at the end of the TOADPRofiler script, as noted in the header (Grants shown below)
GRANT SELECT, INSERT, UPDATE, DELETE ON plsql_profiler_data TO PUBLIC;
GRANT SELECT, INSERT, UPDATE, DELETE ON plsql_profiler_units TO PUBLIC;
GRANT SELECT, INSERT, UPDATE, DELETE ON plsql_profiler_runs TO PUBLIC;
GRANT execute ON toad_profiler TO PUBLIC;
GRANT SELECT ON plsql_profiler_runnumber TO PUBLIC;
make sure to Use the Toad schema for Profiler. Install the server side objects for Profiler into the Toad schema instead of a different individual schema.
Business Accounts
Answer for Membership
by: HainKurtPosted on 2009-09-02 at 07:48:24ID: 25241623
Q1: in stored procedure, when you debug, you can use "run to cursor" to skip some parts, instead of adding another breakpoint (BR) and hitting run...
Q2: No, if you have some cursors in your application that you adebug, you can use that window to see the cursor...
Q3: you need to run TOAD server side scripts (when you install TOAD, it is asking this option, probably you skipped)