dotTrace 2016.1 Help

Selecting a Function for Line-by-line Profiling

Line-by-line profiling is a resource-consuming process, and normally you should use it to profile only selected functions. dotTrace allows you to select particular functions or classes for future line-by-line profiling right in the current snapshot.

This Working_with_Profiling_Results__Line-by-line_Profiling__Injected_Planned icon is used to mark functions that are scheduled for line-by-line profiling.

This Working_with_Profiling_Results__Line-by-line_Profiling__Injected icon is displayed in a new snapshot alongside recently profiled functions.

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.

You can click some functions to open the Edit Line-by-line Filters dialog box where you can look through the list of functions and classes that are scheduled for line-by-line profiling.


If necessary, you can clear this list by clicking Clear Selection, or remove a particular item from the list in the Edit Line-by-line Filters dialog box by selecting it and clicking Remove.

See Also

Last modified: 14 April 2016