Code which is to be executed during profiling should be entered in the Code to Profile area. This is actually an editor window, and so you can use all the keyboard commands which can be used in the editor.
Code may be placed in this window in three ways:
Specify the package in which you want to run the code to be profiled using the Package panel in the General tab of the Profiler Preferences dialog. Choose
Tools > Preferences...
to display this dialog. If you are unsure, full details on how to do this can be found in Specifying a package. Like all other tools in the environment, the Profiler can have a particular package associated with it; the default package is