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 icon is used to mark functions that are scheduled for line-by-line profiling.
This icon is displayed in a new snapshot alongside recently profiled functions.
To profile a function or a class of functions line by line
- Select a function in any view.
- On the menu bar, choose Line-by-line Profiling | Add Function or Line-by-line Profiling | Add Class on the context menu. or . Alternatively, right-click the function, then choose
A notification bar appears:
- 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.