Integrating with visual studio

ARTIFACTORY: How to configure Artifactory as Symbol Server and integrate with Visual Studio

AuthorFullName__c
Vignesh C
articleNumber
000005382
ft:sourceType
Salesforce
FirstPublishedDate
2022-08-24T11:44:20Z
lastModifiedDate
2022-08-24
VersionNumber
2
1. In Visual Studio, navigate to Tools > Options > Debugging > General, uncheck the Enable Just My Code field.

User-added image

2. Set Artifactory to be your Symbol Server in Visual Studio by navigating to Tools > Options > Debugging > Symbols and add the virtual or local repository URL path of Artifactory.

User-added image

3. Create a dotnet project in which we have configured TestProject.1.0.0.nupkg as a dependency and we have to use the code from the dependency. We can add Breakpoint on the Console.WriteLine("testing"); for debugging purposes.
User-added image

4. After starting the application in debug mode, we would be able to locate the TestProject.pdb file as expected. We may refer to the below screenshots.

User-added image

User-added image