{"id":8363,"date":"2015-03-09T17:00:00","date_gmt":"2015-03-09T17:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudioalm\/2015\/03\/09\/editing-the-intellitrace-collection-plan\/"},"modified":"2022-07-28T00:44:35","modified_gmt":"2022-07-28T08:44:35","slug":"editing-the-intellitrace-collection-plan","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/devops\/editing-the-intellitrace-collection-plan\/","title":{"rendered":"Editing the IntelliTrace collection plan"},"content":{"rendered":"<p>As you probably already know, Visual Studio offers an enhanced debugging experience through the use of <a href=\"http:\/\/blogs.msdn.com\/b\/visualstudioalm\/archive\/2015\/01\/14\/intellitrace-in-visual-studio-ultimate-2015.aspx\">IntelliTrace<\/a>. Your application\u2019s execution is recorded by IntelliTrace and you can navigate through time, both backwards and forwards, and examine your code as you normally would during a debugging session by interacting with the Call Stack and Locals windows.<\/p>\n<p>The collection plan is the compilation of all settings that tell IntelliTrace what data to collect while the application is running:<\/p>\n<ol>\n<li>What interesting events to collect<\/li>\n<li>Whether to collect method calls and parameters<\/li>\n<li>Whether to whitelist or blacklist certain assemblies<\/li>\n<\/ol>\n<p>When you are using IntelliTrace within Visual Studio, you change these settings through <strong>Tools > Options > IntelliTrace<\/strong>:<\/p>\n<p><img decoding=\"async\" style=\"border: 0px\" title=\"image\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2015\/03\/2570.image_thumb_2C5D84D8.png\" alt=\"image\" width=\"628\" height=\"368\" border=\"0\" \/><\/p>\n<p>The <a href=\"http:\/\/blogs.msdn.com\/b\/visualstudioalm\/archive\/2014\/08\/07\/intellitrace-standalone-collector-is-back.aspx\">IntelliTrace standalone collector<\/a> does not have a graphical UI, <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/vstudio\/hh398365%28v=vs.110%29.aspx#GetStarted\">it uses PowerShell commands<\/a> instead. One of the arguments to the command that starts collection is the path to an .xml file that represents the collection plan. The download for the collector contains two collection plans out of the box:<\/p>\n<ul>\n<li><strong>collection_plan.ASP.NET.trace.xml:<\/strong> Equates to the default IntelliTrace setting in Visual Studio<\/li>\n<li><strong>collection_plan.ASP.NET.default.xml:<\/strong> Equates to selecting \u201cIntelliTrace events and call information\u201d from the General tab of the IntelliTrace options in Visual Studio.<\/li>\n<\/ul>\n<p>If you want to make changes to either of these collection plans you have two options:<\/p>\n<p><strong>Option 1: **Use a community tool on CodePlex called <a href=\"http:\/\/intellitracecpconfig.codeplex.com\/releases\/view\/94998\">IntelliTrace Collection Plan Configurator<\/a>, which makes the functionality of **Tools > Options > IntelliTrace<\/strong> available for the standalone collector as seen below:<\/p>\n<p><img decoding=\"async\" style=\"border: 0px\" title=\"clip_image003\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2015\/03\/8030.clip_image003_thumb_0118EDD1.png\" alt=\"clip_image003\" width=\"425\" height=\"454\" border=\"0\" \/><\/p>\n<p>**Option 2: **Or you can do it the hard way and <a href=\"http:\/\/blogs.msdn.com\/b\/visualstudioalm\/archive\/2011\/09\/15\/modifying-an-intellitrace-collection-plan-for-the-stand-alone-collector.aspx\">manually edit the .xml file<\/a><\/p>\n<p>Please give us your feedback so that we can improve. You can leave general comments and questions at the end of this blog post or via <a href=\"http:\/\/connect.microsoft.com\/VisualStudio\/content\/content.aspx?ContentID=31113\">Send-a-Smile<\/a>, and submit feature requests to our <a href=\"http:\/\/visualstudio.uservoice.com\/forums\/121579-visual-studio\/category\/91797-intellitrace\">IntelliTrace UserVoice<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As you probably already know, Visual Studio offers an enhanced debugging experience through the use of IntelliTrace. Your application\u2019s execution is recorded by IntelliTrace and you can navigate through time, both backwards and forwards, and examine your code as you normally would during a debugging session by interacting with the Call Stack and Locals windows. [&hellip;]<\/p>\n","protected":false},"author":127,"featured_media":45953,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1,225],"tags":[],"class_list":["post-8363","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops","category-git"],"acf":[],"blog_post_summary":"<p>As you probably already know, Visual Studio offers an enhanced debugging experience through the use of IntelliTrace. Your application\u2019s execution is recorded by IntelliTrace and you can navigate through time, both backwards and forwards, and examine your code as you normally would during a debugging session by interacting with the Call Stack and Locals windows. [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/8363","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/users\/127"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/comments?post=8363"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/8363\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media\/45953"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media?parent=8363"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/categories?post=8363"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/tags?post=8363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}