To profile a function or a class of functions line by line
  1. Select a function in any view.
  2. On the menu bar, choose Edit | Line-by-Line Profiling | Add Function or Edit | Line-by-Line Profiling | Add Class. Alternatively, right-click the function, then choose Line-by-line Profiling | Add Function or Line-by-line Profiling | Add Class on the context menu.
  3. A notification bar appears:
  4. Click Profile Application with Modified Settings to start profiling.