Line-by-line profiling is a labour-intensive and resource-consuming process, and you normally only profile selected functions that way. dotTrace Performance allows you to mark such functions in the current snapshot in order to easily discover them in a new one.
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.
- Select a function in any view.
- 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.
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.