locked
How to set up Intellitrace with debug symbols: BuildSymbolStorePath RRS feed

  • Question

  • EDIT:  missing text... "path to symbols"

    Posted this question on stackoverflow also:  http://stackoverflow.com/questions/34230241/how-to-set-up-intellitrace-with-debug-symbols-buildsymbolstorepath  

    Attempting to set up intellitrace monitoring on web app.

    The app is not deployed via Visual Studio. We have jetbrains/teamcity doing the build and deploy automatically on commit.

    I want to modify the build to include debug info (.pdb) -- presumably I will get more out of intellitrace this way.

    Following instructions here, obviously not using the "teamfoundation" options but instead the "manual build" option:

    https://msdn.microsoft.com/en-us/library/dn449058.aspx

    Need to include lines in the application project .config:

    <!-- **************************************************** -->
    <!-- Build info -->
    <PropertyGroup>
       <!-- Generate the BuildInfo.config file -->
       <GenerateBuildInfoConfigFile>True</GenerateBuildInfoConfigFile>
       <!-- Include server name in build info --> 
       <IncludeServerNameInBuildInfo>True</IncludeServerNameInBuildInfo> 
       <!-- Include the symbols path so Visual Studio can find the matching deployed code when you start debugging. -->
       <BuildSymbolStorePath><path to symbols></BuildSymbolStorePath>
    </PropertyGroup>
    <!-- **************************************************** -->

    I do not know what to put for <path to symbols>

    Is it a relative path? relative to what? Do this refer to where they are place during build? or after deployment? Where else do I set this path (project build properties??)? Could I just leave out this line so they just go do a default location and everything is happy?

    Secondary question: since not using any built in VS deploy, will I have to "manually" (extra steps in Teamcity deploy step) change the name of the build config file from ProjectName.BuildInfo.config to simply BuildInfo.config?


    Friday, December 11, 2015 6:48 PM

Answers

  • Hi Scott.K.Graham,

    >>Secondary question: since not using any built in VS deploy, will I have to "manually" (extra steps in Teamcity deploy step) change the name of the build config file from ProjectName.BuildInfo.config to simply BuildInfo.config?

    See "Create the build manifest for a manual build using Visual Studio" here:

    https://msdn.microsoft.com/en-us/library/dn449058.aspx?f=255&MSPPError=-2147217396

    It shared us how to ceate the build manifest for a manual build using Visual Studio or use the TFS for automatically build and other information.

    >>Is it a relative path? relative to what? Do this refer to where they are place during build? or after deployment? Where else do I set this path (project build properties??)? Could I just leave out this line so they just go do a default location and everything is happy?

    As far as I know, BuildSymbolStorePath is a MSbuild argument, we use it to specify where we are storing the symbols that match the built code, at least, we use it for custom template of TFS build.

    Reference:

    http://stackoverflow.com/questions/19739890/microsoft-monitoring-agent-configuration

    Best Regards,

    Jack


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, December 15, 2015 6:02 AM