Skip to content

Commit

Permalink
Add Top List description.:
Browse files Browse the repository at this point in the history
  • Loading branch information
jfree committed Dec 12, 2023
1 parent aba5789 commit cfd5c8c
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions content/en/developers/ide_integrations/visual_studio/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,33 @@ Code Insights include a detailed description for each issue, and links to:

You can dismiss individual insights that you do not want to see in the list.

## Continuous Profiler

The **Continuous Profiler** editor shows profiling information for a service in a selected environment, aggregated over a specific time frame.

You can specify the following parameters for the profiling data:
- The profile type to be displayed
- The environment in which the service is running
- The time frame for the profile samples to be aggregated

The available profiling types usually include options like **CPU Time** and **Allocated Memory**, but are determined by the platform and vary by language.

### Top functions

The **Top Functions** table shows the methods that consume the most resources based on the aggregated profile data loaded from the Datadog servers. **Top Functions** is designed to show a summary of the methods that are most likely to be interesting from a resource consumption point of view.

{{< img src="/developers/ide_integrations/visual_studio/top-list.png" alt="The Top-list view" style="width:100%;" >}}

Double-clicking an item in the list (or selecting **Go To Source** from the context menu) opens a source code editor showing where the method is defined.

Check notice on line 100 in content/en/developers/ide_integrations/visual_studio/_index.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/en/developers/ide_integrations/visual_studio/_index.md#L100

[Datadog.sentencelength] Try to keep your sentence length to 25 words or fewer.
Raw output
{"message": "[Datadog.sentencelength] Try to keep your sentence length to 25 words or fewer.", "location": {"path": "content/en/developers/ide_integrations/visual_studio/_index.md", "range": {"start": {"line": 100, "column": 1}}}, "severity": "INFO"}

#### Call tree

The call tree to the right of the **Top Functions** shows the paths that lead to (and from) the selected method.

The default **Caller Hierarchy** view shows the callers (or predecessors) of the target method and the frequency with which they appear in the call stack. To view the callees (or successors), click the **Callee Hierarchy** button on the toolbar.

Right-click on a method in the call tree to navigate to the source editor.

## View in Visual Studio

Check warning on line 110 in content/en/developers/ide_integrations/visual_studio/_index.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/en/developers/ide_integrations/visual_studio/_index.md#L110

[Datadog.headings] 'View in Visual Studio' should use sentence-style capitalization.
Raw output
{"message": "[Datadog.headings] 'View in Visual Studio' should use sentence-style capitalization.", "location": {"path": "content/en/developers/ide_integrations/visual_studio/_index.md", "range": {"start": {"line": 110, "column": 4}}}, "severity": "WARNING"}

The **View in Visual Studio** feature provides a link from Datadog directly to your source files. Look for the button next to frames in stack traces displayed in the UI (for example, in [Error Tracking][10]):
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cfd5c8c

Please sign in to comment.