<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://community.microfocus.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>DevPartner </title><link>http://community.microfocus.com/borland/develop/devpartner_-_code_analysis/default.aspx</link><description>DevPartner finds CPU hogs, plugs memory leaks, and cleans dirty code so your applications run faster and more efficiently.</description><dc:language>en-US</dc:language><generator>6.x Production</generator><item><title>Forum Post: RE: DevPartner Finalizes DPS 11.1 Whats New</title><link>http://community.microfocus.com/borland/develop/devpartner_-_code_analysis/f/34/p/9365/13702.aspx#13702</link><pubDate>Mon, 13 May 2013 17:24:00 GMT</pubDate><guid isPermaLink="false">54bbee7a-c175-4025-be9a-1a32ff3149a0:forumreply:13702</guid><dc:creator>PDL</dc:creator><description>&lt;p&gt;Sample code for the above posted IKnownFolder mismatch (Windows 7)...&lt;/p&gt; &lt;pre&gt;WCHAR szBuffer[MAX_PATH]; IKnownFolderManager *pKnownFolderManager = NULL; HRESULT hr = CoCreateInstance(CLSID_KnownFolderManager,          NULL,           CLSCTX_INPROC_SERVER,          IID_IKnownFolderManager,          (void**)( &amp;amp;(pKnownFolderManager) )); if (SUCCEEDED(hr)) {  IKnownFolder* pKnownFolder = NULL;  HRESULT hr = pKnownFolderManager-&amp;gt;GetFolder( FOLDERID_PicturesLibrary, &amp;amp;pKnownFolder);  if ( SUCCEEDED(hr) &amp;amp;&amp;amp; pKnownFolder)  {   //extract path   LPWSTR pszPath(NULL);   hr = pKnownFolder-&amp;gt;GetPath( 0, &amp;amp;pszPath);   if ( SUCCEEDED(hr) &amp;amp;&amp;amp; pszPath)   {    wcscpy( szBuffer, pszPath );    CoTaskMemFree( (LPVOID) pszPath );   }   pKnownFolder-&amp;gt;Release();  }  pKnownFolderManager-&amp;gt;Release(); } &lt;/pre&gt;</description></item><item><title>Forum Post: RE: DevPartner Studio 11.1 - MicroFocus License Management System</title><link>http://community.microfocus.com/borland/develop/devpartner_-_code_analysis/f/34/p/9448/13602.aspx#13602</link><pubDate>Wed, 01 May 2013 20:58:00 GMT</pubDate><guid isPermaLink="false">54bbee7a-c175-4025-be9a-1a32ff3149a0:forumreply:13602</guid><dc:creator>PDL</dc:creator><description>&lt;p&gt;Found the Sentinel tools to show the usage - wlmAdmin.exe for Win32 UI, and lsmon.exe for Win32 command line, however, I am now looking for the method to force a remote user&amp;#39;s license to be cleared in the case of a service problem (the user is not using any tool, yet the license is still being shown as used)...&lt;/p&gt;</description></item><item><title>Wiki: DevPartner Knowledge Base</title><link>http://community.microfocus.com/borland/develop/devpartner_-_code_analysis/w/knowledge_base/default.aspx</link><pubDate>Wed, 01 May 2013 03:10:00 GMT</pubDate><guid isPermaLink="false">54bbee7a-c175-4025-be9a-1a32ff3149a0:wikiapp:126</guid><dc:creator>Anonymous</dc:creator><description /></item><item><title>Wiki: DevPartner - Code Analysis - Wiki</title><link>http://community.microfocus.com/borland/develop/devpartner_-_code_analysis/w/wiki/default.aspx</link><pubDate>Wed, 01 May 2013 03:09:00 GMT</pubDate><guid isPermaLink="false">54bbee7a-c175-4025-be9a-1a32ff3149a0:wikiapp:32</guid><dc:creator>Anonymous</dc:creator><description /></item><item><title>Wiki Page: Demystifying The Performance Analysis Session File</title><link>http://community.microfocus.com/borland/develop/devpartner_-_code_analysis/w/knowledge_base/22039.demystifying-the-performance-analysis-session-file.aspx</link><pubDate>Tue, 30 Apr 2013 22:10:00 GMT</pubDate><guid isPermaLink="false">54bbee7a-c175-4025-be9a-1a32ff3149a0:wiki:22039</guid><dc:creator>Anthony Hollis</dc:creator><description>&lt;p&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-32/4810.question_2D00_mark.png"&gt;&lt;img width="177" height="163" alt=" " src="/resized-image.ashx/__size/550x0/__key/communityserver-wikis-components-files/00-00-00-00-32/4810.question_2D00_mark.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;span style="font-size:medium;"&gt;Introduction&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/b&gt;You have just installed DevPartner Studio, instrumented your application, and launched&amp;nbsp;Performance Analysis.&amp;nbsp;You are fired up and ready to go. Then it hits you, you have no idea what you are looking at, or any idea what this stuff means. &lt;br /&gt;&lt;br /&gt;What are all of these numbers and columns? &lt;br /&gt;How am I supposed to interpret this data?&lt;br /&gt; How in the heck is any of this information useful to me?&lt;br /&gt;&lt;br /&gt;Trust me, I&amp;#39;ve been there&amp;nbsp;too!&amp;nbsp; &lt;br /&gt;&lt;br /&gt;At first glance, the Performance Analysis session file can appear a little daunting, however, the presentation of information makes more sense then you may&amp;nbsp;realize.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:medium;"&gt;&lt;b&gt;What is Performance Analysis?&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;Let&amp;rsquo;s quickly cover what the component does. &amp;nbsp;In a nutshell, Performance Analysis profiles distributed, and component-based applications. It collects&amp;nbsp;performance data, COM method calls, etc, of which the server data is transmitted back to the client and automatically correlated into a single session file. &lt;br /&gt;&lt;br /&gt;Moreover, the Performance Analyzer is used to collect the performance metrics of DLLs, source code&amp;nbsp;files, assemblies, methods, functions, and line-level code. The session data&amp;nbsp;made available to you, assists in highlighting performance issues, anywhere in your code, from third-party APIs, and or&amp;nbsp;the operating system.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:medium;"&gt;&lt;b&gt;Session File Breakdown&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;The completion of a successful performance profiling session results in a session file with the extension of &lt;strong&gt;*.*.dpprf&lt;/strong&gt;.&amp;nbsp; By default,&amp;nbsp;the session file&amp;nbsp;has the naming convention of the profiled executable&amp;#39;s name, appended with a numerical representation of subsequent runs.&lt;br /&gt;&lt;br /&gt;When first displayed, the session file will be presented as a two-paned window.&amp;nbsp; A tree list will display filtered data and the tabulated pane will display session data.&amp;nbsp;(See Fig. 1)&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Fig. 1&lt;/b&gt; &lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-32/5086.one_5F00_a.png"&gt;&lt;img alt=" " src="/resized-image.ashx/__size/550x0/__key/communityserver-wikis-components-files/00-00-00-00-32/5086.one_5F00_a.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:medium;"&gt;&lt;b&gt;Filtered Pane&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;The tree list to the left is the filtered pane, listing the performance data from your profiled&amp;nbsp;application (.exe, dll, .ocx, managed-assemblies, etc).&amp;nbsp; Expanding the view of&amp;nbsp;these components will display the timing metrics for each source file&amp;nbsp;(.cpp, .vb, .cs, etc). &lt;span style="color:#ff0000;"&gt;*&lt;strong&gt;Note:&lt;/strong&gt; The percentage in parentheses represents the total execution time.&amp;nbsp;&lt;/span&gt; (See Fig. 2)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;(Fig. 2)&lt;/b&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-32/4276.two_5F00_a.png"&gt;&lt;img alt=" " src="/resized-image.ashx/__size/550x0/__key/communityserver-wikis-components-files/00-00-00-00-32/4276.two_5F00_a.png" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Fig. 2 shows us&amp;nbsp;that &lt;strong&gt;animationinstance.cpp&lt;/strong&gt;, spent 0.3% of the session time in that section of the code. Whereas, &lt;strong&gt;dxut.cpp&lt;/strong&gt; spent on 0.2%.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;*Note:&lt;/strong&gt; During the execution of MutliAnimation.exe, used&amp;nbsp;for this demonstration,&amp;nbsp;only certain parts of the application was executed, therefore, 0.0% metrics in certain areas.&lt;br /&gt;&lt;br /&gt;If you look further down the tree in Fig. 2, you will notice that there is a high percentage listed for System. Usually, you will find that System&amp;nbsp;produces the highest percentage of time.&amp;nbsp; &lt;br /&gt;&lt;br /&gt;By expanding the System node, you can research how your application uses system resources. However, keep in mind that it is your&amp;nbsp;source code that controls the system, and it is up to you to determine where the actual performance losses may be coming from.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:medium;"&gt;&lt;b&gt;Data Pane&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;Next to the tree list is the data pane. The session data pane provides method level metrics.&amp;nbsp; You have a total of three tabs available to you across the top: &lt;strong&gt;Method List&lt;/strong&gt;, &lt;strong&gt;Source&lt;/strong&gt;, and &lt;strong&gt;Session Summary&lt;/strong&gt;. (See Fig. 3)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;(Fig.3)&lt;/strong&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-32/2117.three_5F00_a.png"&gt;&lt;img alt=" " src="/resized-image.ashx/__size/550x0/__key/communityserver-wikis-components-files/00-00-00-00-32/2117.three_5F00_a.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Information overload? &lt;br /&gt;&lt;br /&gt;Not really. So what is the information actually telling us?&lt;br /&gt;&lt;br /&gt;Let&amp;rsquo;s take a look at the method &lt;strong&gt;DXUTRender3DEnviornment(void). &lt;/strong&gt;(See&amp;nbsp;Fig. 3)&amp;nbsp;&lt;br /&gt;&lt;br /&gt;We can see that the time spent in the method is 0.0%, in actuality this is&amp;nbsp;probably closer to 0.1%. But lets take a look at the time spent &amp;ldquo;with Children&amp;rdquo; which is 9.4%, and how many times our&amp;nbsp;method was called -&amp;nbsp;2,984 times. This could be a possible candidate for further&amp;nbsp;investigation. &lt;br /&gt;&lt;br /&gt;First let&amp;rsquo;s discuss what some of these columns mean.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;% in Method -&lt;/b&gt; indicates how much time was spent during the session percentage wise. &lt;br /&gt;&lt;b&gt;% with Children -&lt;/b&gt; indicates how much time was spent in the method, and any child methods.&lt;br /&gt;&lt;b&gt;Called -&lt;/b&gt; represents the number of times a particular method was called.&lt;br /&gt;&lt;b&gt;Average &lt;/b&gt;- the average execution time of the method.&lt;br /&gt;&lt;b&gt;Real -&lt;/b&gt; the average execution time of the method, and its child methods, including the time spent in threads of other processes.&lt;span style="color:#ff0000;background-color:#ffffff;"&gt;&lt;strong&gt; *Note:&lt;/strong&gt; Real is the value also known as wall-clock-time.&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:medium;"&gt;&lt;b&gt;Viewing the Source Code&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;The first item in this section that you may&amp;nbsp;want to investigate are&amp;nbsp;the lines with the highest amount of time associated with them. These lines of code represent the slowest executed lines.&lt;br /&gt;&lt;br /&gt;Here is a quick rundown of the columns:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Count&lt;/strong&gt; -&amp;nbsp;indicates the number of times that a particular line of code was executed.&lt;br /&gt;&lt;strong&gt;% of Method -&lt;/strong&gt;&amp;nbsp;indicates how much time was spent on&amp;nbsp;a particular&amp;nbsp;line of code, and the methods it calls as a percentage of the time spent in the entire method.&lt;br /&gt;&lt;strong&gt;% with Children -&lt;/strong&gt;&amp;nbsp;indicates how much time is spent on a particular line of code, and the methods it calls as a percentage of the time spent during the session.&lt;br /&gt;&lt;strong&gt;Time -&lt;/strong&gt;&amp;nbsp;the total time spent executing a particular&amp;nbsp;line of code and the methods it calls&amp;nbsp;during the session. (See Fig. 7)&lt;br /&gt;&lt;br /&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;b&gt;(Fig. 7)&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-32/4705.seven_5F00_a.png"&gt;&lt;img alt=" " src="/resized-image.ashx/__size/550x0/__key/communityserver-wikis-components-files/00-00-00-00-32/4705.seven_5F00_a.png" border="0" /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:medium;"&gt;&lt;b&gt;Conclusion&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;Well there you have it, a&amp;nbsp;50,000ft view of the Performance Analysis session file.&amp;nbsp; Although we only touched on the high level details. You should now have a better understanding of&amp;nbsp;Performance analysis, how to use it, and how to interpret the data. &lt;br /&gt;&lt;br /&gt;For a more in-depth look at Performance Analysis,&amp;nbsp;its&amp;nbsp;available features, options, and configurations - please consult the DevPartner User Guide (Micro Focus,&amp;nbsp;2013, p.&amp;nbsp;207).&lt;br /&gt;&lt;br /&gt;&lt;b&gt;References&lt;/b&gt;&lt;/p&gt; &lt;p&gt;Micro Focus (2013).&amp;nbsp;&lt;i&gt;Understanding DevPartner -Chapter 7 &amp;ldquo;In-Depth Performance Analysis&amp;rdquo;&lt;/i&gt;(207).&lt;/p&gt; &lt;p&gt;&lt;/p&gt;</description></item><item><title>Wiki Page: How To Profile A Native DLL Called From A C# Application</title><link>http://community.microfocus.com/borland/develop/devpartner_-_code_analysis/w/wiki/21862.how-to-profile-a-native-dll-called-from-a-c-application.aspx</link><pubDate>Tue, 30 Apr 2013 22:09:00 GMT</pubDate><guid isPermaLink="false">54bbee7a-c175-4025-be9a-1a32ff3149a0:wiki:21862</guid><dc:creator>Anthony Hollis</dc:creator><description>&lt;p&gt;&lt;span style="font-size:medium;"&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial,helvetica,sans-serif;font-size:small;"&gt;Profiling a DLL called from a .NET application is fairly straightforward. In this example, I will demonstrate&amp;nbsp;how to profile a DLL called from a simple C# winform.&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:medium;"&gt;&lt;strong&gt;Steps&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt; &lt;ol&gt;&lt;ol&gt; &lt;li&gt; &lt;p&gt;&lt;span style="line-height:107%;font-family:arial,helvetica,sans-serif;font-size:small;"&gt;&amp;nbsp;Instrument your native code with Error Detection&lt;br /&gt;&lt;em&gt;&lt;span style="color:#003366;"&gt;**If you would like to know how to build and instrument from the command line, view the&lt;/span&gt; &lt;span style="color:#000000;background-color:#ffffff;"&gt;&lt;strong&gt;knowledgebase article&lt;/strong&gt;&lt;/span&gt; &lt;span style="color:#003366;"&gt;located here:&lt;/span&gt; &lt;a href="/borland/develop/devpartner_-_code_analysis/w/knowledge_base/21152.msbuild-vs-nmvcbuild.aspx"&gt;http://community.microfocus.com/borland/develop/devpartner_-_code_analysis/w/knowledge_base/21152.msbuild-vs-nmvcbuild.aspx&lt;/a&gt;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt; &lt;/li&gt; &lt;li&gt; &lt;p&gt;&lt;span style="line-height:107%;font-family:&amp;#39;Times New Roman&amp;#39;,&amp;#39;serif&amp;#39;;font-size:12pt;"&gt;&lt;span style="font-family:arial,helvetica,sans-serif;font-size:small;"&gt;From the menu of Visual Studio, select &lt;span style="color:#000000;background-color:#ffffff;"&gt;&amp;quot;Devpartner&amp;gt;C++ Instrumentation Manager&amp;quot;.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-32/2768.instrumentationManager.png"&gt;&lt;img alt=" " src="/resized-image.ashx/__size/550x0/__key/communityserver-wikis-components-files/00-00-00-00-32/2768.instrumentationManager.png" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;/li&gt; &lt;li&gt;&lt;span style="font-family:arial,helvetica,sans-serif;font-size:small;"&gt;Proceed to build your DLL project in Visual Studio.&lt;/span&gt;&lt;/li&gt; &lt;li&gt;&lt;span style="line-height:107%;font-family:&amp;#39;Times New Roman&amp;#39;,&amp;#39;serif&amp;#39;;font-size:12pt;"&gt;&lt;span style="font-family:arial,helvetica,sans-serif;font-size:small;"&gt;Navigate to the standalone version of Error Detection: &lt;span style="color:#000000;background-color:#ffffff;"&gt;Start&amp;gt;Programs&amp;gt;Micro Focus&amp;gt; DevPartner&amp;gt;Error Detection.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-32/0081.bc.png"&gt;&lt;img alt=" " src="/resized-image.ashx/__size/550x0/__key/communityserver-wikis-components-files/00-00-00-00-32/0081.bc.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/span&gt; &lt;p style="padding:0;margin:0;"&gt;&lt;/p&gt; &lt;/li&gt; &lt;li&gt; &lt;p&gt;&lt;span style="color:#000000;font-family:arial,helvetica,sans-serif;font-size:small;background-color:#ffffff;"&gt;Click File&amp;gt;Open and navigate to the executable that will invoke&amp;nbsp;your DLL.&lt;/span&gt;&lt;/p&gt; &lt;/li&gt; &lt;li&gt; &lt;p&gt;&lt;span style="line-height:107%;font-family:arial,helvetica,sans-serif;font-size:small;"&gt;&lt;span style="color:#000000;background-color:#ffffff;"&gt;Click on Program and then Settings.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-32/7875.settings.png"&gt;&lt;img alt=" " src="/resized-image.ashx/__size/550x0/__key/communityserver-wikis-components-files/00-00-00-00-32/7875.settings.png" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;/li&gt; &lt;li&gt; &lt;p&gt;&lt;span style="color:#000000;font-family:arial,helvetica,sans-serif;font-size:small;background-color:#ffffff;"&gt;Navigate to Modules and Files.&lt;/span&gt;&lt;/p&gt; &lt;/li&gt; &lt;li&gt; &lt;p&gt;&lt;span style="line-height:107%;font-family:arial,helvetica,sans-serif;font-size:small;"&gt;&lt;span style="color:#000000;background-color:#ffffff;"&gt;From the Modules and Files Property Page, click Add Module and select the DLL you want to profile.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-32/8765.settings2.png"&gt;&lt;img alt=" " src="/resized-image.ashx/__size/550x0/__key/communityserver-wikis-components-files/00-00-00-00-32/8765.settings2.png" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;/li&gt; &lt;li&gt; &lt;p&gt;&lt;span style="color:#000000;background-color:#ffffff;"&gt;&lt;span style="font-family:arial,helvetica,sans-serif;font-size:small;"&gt;Click Ok.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/li&gt; &lt;li&gt; &lt;p&gt;&lt;span style="font-family:arial,helvetica,sans-serif;font-size:small;"&gt;&lt;span style="color:#000000;background-color:#ffffff;"&gt;To&amp;nbsp; start, click on&amp;nbsp;the Play button or&amp;nbsp;navigate to Program&amp;gt;Start&lt;/span&gt;&lt;span style="background-color:#ffcc00;"&gt;&lt;span style="background-color:#ffffff;"&gt;&lt;span style="color:#ffffff;"&gt;Program&amp;gt;Start.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="background-color:#ffcc00;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-32/2654.menu.png"&gt;&lt;img alt=" " src="/resized-image.ashx/__size/550x0/__key/communityserver-wikis-components-files/00-00-00-00-32/2654.menu.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial,helvetica,sans-serif;font-size:small;"&gt;At this point, if you have instrumented your native code, Error Detection will begin&amp;nbsp;the process of profiling your application for errors, memory leaks, etc. &lt;br /&gt;&lt;br /&gt;For example, the application that I created is nothing more than&amp;nbsp;a simple C++ DLL of which a memory leak, and a&amp;nbsp;buffer overrun was added.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial,helvetica,sans-serif;font-size:small;"&gt;During the execution of my simple example, Error Detection reported the following:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#000000;font-family:arial,helvetica,sans-serif;font-size:small;background-color:#ffffff;"&gt;Memory Leak Generated in DLL Code&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-32/0257.memleak.png"&gt;&lt;img alt=" " src="/resized-image.ashx/__size/550x0/__key/communityserver-wikis-components-files/00-00-00-00-32/0257.memleak.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:arial,helvetica,sans-serif;font-size:small;background-color:#ffcc00;"&gt;&lt;span style="background-color:#ffffff;"&gt;Write Over Run Generated from DLL Code&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-32/1460.overrun.png"&gt;&lt;img alt=" " src="/resized-image.ashx/__size/550x0/__key/communityserver-wikis-components-files/00-00-00-00-32/1460.overrun.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial,helvetica,sans-serif;font-size:small;"&gt;&lt;strong&gt;&lt;span style="color:#000000;background-color:#ffffff;"&gt;*Note:&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;If you are not seeing any profiled data.&amp;nbsp; Locate your native DLL in the&lt;strong&gt; &amp;quot;Modules Tab&amp;quot;&lt;/strong&gt; of the session file to verify instrumentation.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-32/1307.results2.png"&gt;&lt;img alt=" " src="/resized-image.ashx/__size/550x0/__key/communityserver-wikis-components-files/00-00-00-00-32/1307.results2.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt; &lt;/li&gt; &lt;/ol&gt;&lt;/ol&gt; &lt;p style="padding:0;margin:0;"&gt;&lt;/p&gt; &lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Wiki Page: How To Profile A Multiple Process Executable</title><link>http://community.microfocus.com/borland/develop/devpartner_-_code_analysis/w/wiki/21936.how-to-profile-a-multiple-process-executable.aspx</link><pubDate>Tue, 30 Apr 2013 22:03:00 GMT</pubDate><guid isPermaLink="false">54bbee7a-c175-4025-be9a-1a32ff3149a0:wiki:21936</guid><dc:creator>Anthony Hollis</dc:creator><description>&lt;p&gt;&lt;span style="color:#000000;"&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-32/6888.standalone_2D00_simulation_2D00_executable.png"&gt;&lt;span style="color:#000000;"&gt;&lt;img width="176" height="110" alt=" " src="/resized-image.ashx/__size/550x0/__key/communityserver-wikis-components-files/00-00-00-00-32/6888.standalone_2D00_simulation_2D00_executable.png" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;font-size:medium;"&gt;&lt;b&gt;Introduction&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;This example will show you how simple it is to profile an application that spawns multiple executable&amp;#39;s. These steps are also applicable for use with both &amp;ldquo;Coverage&amp;rdquo; and &amp;ldquo;Performance&amp;rdquo; Analysis. It is also important to mention that the duration of the session is directly related to the duration of the parent process.&amp;nbsp; Meaning, during the profiling session, a separate performance or coverage file will be generated for each targeted child process.&amp;nbsp; However, the session file for the parent process will get generated upon the termination of its process.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;The overall architecture of the application used for this demonstration is fairly simple and straightforward, developed&amp;nbsp;only to demonstrate the mechanics of the process.&amp;nbsp;The parent process was written in C# and the child processes, a total of three, were written in Native C++.&amp;nbsp; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;font-size:medium;"&gt;&lt;b&gt;Steps&lt;/b&gt;&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;1.&amp;nbsp; Customize your .xml configuration file&lt;/b&gt;&lt;i&gt; (samples of configuration files&amp;nbsp;can be found @ C:\Program Files (x86)\Micro Focus\DevPartner Studio\Analysis\SampleConfigs)&lt;br /&gt;&lt;br /&gt;&lt;/i&gt;&lt;b&gt;XML Attributes of note:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;b&gt;SESSION_DIR&lt;/b&gt;- Specifies the folder that your generated session file will be saved into.&amp;nbsp; If this attribute is not set, the session file generation will default to &amp;ldquo;My Documents&amp;rdquo;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;b&gt;&lt;br /&gt;SESSION_FILENAME&lt;/b&gt; &amp;ndash; Specifies the customized name of the session file generated.&amp;nbsp; By default, the executable name followed by a number will be appended to the session file, e.g., myApplication1.dpcov.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;b&gt;NM_METHOD_GRANULARITY&lt;/b&gt; &amp;ndash; This is an optional attribute used to set data collection to method-level, line-level is used by default. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;b&gt;EXCLUDE_SYSTEM_DLLS&lt;/b&gt; &amp;ndash; This is an optional attribute used to exclude system images. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;b&gt;FORCE_PROFILING&lt;/b&gt; &amp;ndash; This is an optional attribute used to force the profiling of a executable written with C/C++ instrumentation or managed code. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;This is only but a small sample of the attributes available to you for customizing your configuration file based on your needs. In addition to the xml attribute data, there are a number of switches that allow you to change the analysis type, how data is collected, and addressing session specific needs. For a more in-depth overview consult the DevPartner Studio Users Guide (Micro Focus,&amp;nbsp;2013, p.&amp;nbsp;109)&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="color:#000000;"&gt;Here is a sample of the xml file used for this example.&amp;nbsp; A number of the available attributes were omitted for sake of simplicity. &lt;span style="color:#000000;"&gt;There are numerous xml attributes available for custom configurations.&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;b&gt;&lt;span style="font-size:medium;"&gt;XML Configuration Example&lt;/span&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-32/5635.xml_5F00_5.png"&gt;&lt;span style="color:#000000;"&gt;&lt;img width="109" height="118" alt=" " src="/resized-image.ashx/__size/550x0/__key/communityserver-wikis-components-files/00-00-00-00-32/5635.xml_5F00_5.png" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="color:#333399;font-family:arial,helvetica,sans-serif;"&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; ?&amp;gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="color:#333399;font-family:arial,helvetica,sans-serif;"&gt;&amp;lt;!-- &amp;nbsp; --&amp;gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="color:#333399;"&gt;&lt;span style="font-family:arial,helvetica,sans-serif;"&gt;&amp;lt;ProductConfiguration xmlns=&amp;quot;&lt;a href="http://www.microfocus.com/products"&gt;&lt;span style="color:#333399;"&gt;http://www.microfocus.com/products&lt;/span&gt;&lt;/a&gt;&amp;quot;&amp;gt; &amp;nbsp;&lt;br /&gt;&amp;lt;RuntimeAnalysis Type=&amp;quot;&lt;strong&gt;Coverage&lt;/strong&gt;&amp;quot; /&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;lt;Targets&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ffffff;background-color:#000080;"&gt;&amp;lt;!- Parent Process -&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&amp;lt;Process CollectData=&amp;quot;true&amp;quot; Spawn=&amp;quot;true&amp;quot; Primary=&amp;quot;true&amp;quot; NoWaitForCompletion=&amp;quot;false&amp;quot; NewConsole=&amp;quot;false&amp;quot;&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;AnalysisOptions NM_METHOD_GRANULARITY=&amp;quot;0&amp;quot; NM_ALLOW_INLINING=&amp;quot;1&amp;quot; &lt;strong&gt;SESSION_FILENAME&lt;/strong&gt;=&amp;quot;&amp;quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;strong&gt; SESSION_DIR&lt;/strong&gt;=&amp;quot;C:\_source\projects\vs2010\CommunityArticle3\profileData&amp;quot;/&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;&lt;strong&gt;Path&lt;/strong&gt;&amp;gt;C:\_source\projects\vs2010\CommunityArticle3\CommunityArticle3.exe&amp;lt;/&lt;strong&gt;Path&lt;/strong&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;WorkingDirectory&amp;gt;C:\_source\projects\vs2010\CommunityArticle3\&amp;lt;/WorkingDirectory&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial,helvetica,sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/Process&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ffffff;background-color:#000080;"&gt;&amp;lt;!-&amp;nbsp;Child Process&amp;nbsp;-&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="color:#333399;"&gt;&lt;span style="font-family:arial,helvetica,sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Process CollectData=&amp;quot;true&amp;quot; Spawn=&amp;quot;true&amp;quot; NoWaitForCompletion=&amp;quot;false&amp;quot; NewConsole=&amp;quot;false&amp;quot;&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;AnalysisOptions NM_METHOD_GRANULARITY=&amp;quot;0&amp;quot; NM_ALLOW_INLINING=&amp;quot;1&amp;quot; &lt;strong&gt;SESSION_FILENAME&lt;/strong&gt;=&amp;quot;&amp;quot; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;strong&gt;SESSION_DIR&lt;/strong&gt;=&amp;quot;C:\_source\projects\vs2010\CommunityArticle3\profileData&amp;quot;/&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;&lt;strong&gt;Path&lt;/strong&gt;&amp;gt;C:\_source\projects\vs2010\CommunityArticle3\sampleAppOne.exe&amp;lt;/&lt;strong&gt;Path&lt;/strong&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;WorkingDirectory&amp;gt;C:\_source\projects\vs2010\CommunityArticle3\&amp;lt;/WorkingDirectory&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial,helvetica,sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/Process&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ffffff;background-color:#000080;"&gt;&amp;lt;!-&amp;nbsp;Child Process&amp;nbsp;-&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="color:#333399;font-family:arial,helvetica,sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Process CollectData=&amp;quot;true&amp;quot; Spawn=&amp;quot;true&amp;quot; NoWaitForCompletion=&amp;quot;false&amp;quot; NewConsole=&amp;quot;false&amp;quot;&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;AnalysisOptions NM_METHOD_GRANULARITY=&amp;quot;0&amp;quot; NM_ALLOW_INLINING=&amp;quot;1&amp;quot; &lt;strong&gt;SESSION_FILENAME&lt;/strong&gt;=&amp;quot;&amp;quot; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;strong&gt; SESSION_DIR&lt;/strong&gt;=&amp;quot;C:\_source\projects\vs2010\CommunityArticle3\profileData&amp;quot;/&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;&lt;strong&gt;Path&lt;/strong&gt;&amp;gt;C:\_source\projects\vs2010\CommunityArticle3\sampleAppTwo.exe&amp;lt;/&lt;strong&gt;Path&lt;/strong&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;WorkingDirectory&amp;gt;C:\_source\projects\vs2010\CommunityArticle3\&amp;lt;/WorkingDirectory&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/Process&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ffffff;background-color:#000080;"&gt;&amp;lt;!-&amp;nbsp;Child Process&amp;nbsp;-&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="color:#333399;"&gt;&lt;span style="font-family:arial,helvetica,sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Process CollectData=&amp;quot;true&amp;quot; Spawn=&amp;quot;true&amp;quot; NoWaitForCompletion=&amp;quot;false&amp;quot; NewConsole=&amp;quot;false&amp;quot;&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;AnalysisOptions NM_METHOD_GRANULARITY=&amp;quot;0&amp;quot; NM_ALLOW_INLINING=&amp;quot;1&amp;quot; &lt;strong&gt;SESSION_FILENAME&lt;/strong&gt;=&amp;quot;&amp;quot; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;strong&gt;SESSION_DIR&lt;/strong&gt;=&amp;quot;C:\_source\projects\vs2010\CommunityArticle3\profileData&amp;quot;/&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;&lt;strong&gt;Path&lt;/strong&gt;&amp;gt;C:\_source\projects\vs2010\CommunityArticle3\sampleAppThree.exe&amp;lt;/&lt;strong&gt;Path&lt;/strong&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;WorkingDirectory&amp;gt;C:\_source\projects\vs2010\CommunityArticle3\&amp;lt;/WorkingDirectory&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/Process&amp;gt; &amp;nbsp;&lt;br /&gt;&lt;br /&gt;&amp;lt;/Targets&amp;gt; &lt;br /&gt;&amp;lt;/ProductConfiguration&amp;gt;&lt;/span&gt;&lt;b&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt; &lt;strong&gt;2. Calling your configuration file from the Command Line&lt;/strong&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;i&gt;*For&amp;nbsp;convenience and ease of use, placing the DPAnalysis.exe executable in the system &amp;ldquo;path&amp;rdquo; is desirable.&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;From the command line, invoke DPAnalysis: &lt;strong&gt;&lt;span style="background-color:#ffff00;"&gt;&lt;span style="background-color:#ffffff;"&gt;C:\ [ Application Process Directory ] \ dpanalysis /config NameOfYourConfigFile.xml&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-32/0525.commandLine.png"&gt;&lt;span style="color:#000000;"&gt;&lt;img alt=" " src="/resized-image.ashx/__size/550x0/__key/communityserver-wikis-components-files/00-00-00-00-32/0525.commandLine.png" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;line-height:107%;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:9pt;"&gt;Once executed, a session dialog box will appear allowing you to control the session, e.g., pausing, taking additional snapshots, and or terminating the session.&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-32/7178.menu.png"&gt;&lt;span style="color:#000000;"&gt;&lt;img alt=" " src="/resized-image.ashx/__size/550x0/__key/communityserver-wikis-components-files/00-00-00-00-32/7178.menu.png" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;For this example, the parent process is named &amp;ldquo;CommunityArticle3&amp;rdquo;.&amp;nbsp; The parent process will spawn three additional processes, &amp;quot;sampleAppOne&amp;quot;, &amp;quot;sampleAppTwo&amp;quot;, and &amp;quot;sampleAppThree&amp;quot;. &amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;Upon the completion of each child process a session file is generated.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#000000;line-height:107%;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:9pt;"&gt;(SampleAppOne.exe &amp;ndash; Session File)&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-32/7851.sampAppOne.png"&gt;&lt;span style="color:#000000;"&gt;&lt;img alt=" " src="/resized-image.ashx/__size/550x0/__key/communityserver-wikis-components-files/00-00-00-00-32/7851.sampAppOne.png" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;span style="color:#000000;"&gt;(SampleAppTwo.exe &amp;ndash; Session File)&lt;/span&gt;&amp;nbsp;&lt;/strong&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt; &lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-32/4527.sampAppTwo.png"&gt;&lt;span style="color:#000000;"&gt;&lt;img alt=" " src="/resized-image.ashx/__size/550x0/__key/communityserver-wikis-components-files/00-00-00-00-32/4527.sampAppTwo.png" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;line-height:107%;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:9pt;"&gt;&lt;br /&gt;&lt;strong&gt;(SampleAppThree.exe &amp;ndash; Session File)&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-32/5734.sampAppThree.png"&gt;&lt;span style="color:#000000;"&gt;&lt;img alt=" " src="/resized-image.ashx/__size/550x0/__key/communityserver-wikis-components-files/00-00-00-00-32/5734.sampAppThree.png" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;line-height:107%;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:9pt;"&gt;&lt;br /&gt;A session file is generated for the parent process after termination.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;(CommunityArticle3.exe &amp;ndash; Session File)&lt;/strong&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-32/0640.endOfAppCovFile.png"&gt;&lt;span style="color:#000000;"&gt;&lt;img alt=" " src="/resized-image.ashx/__size/550x0/__key/communityserver-wikis-components-files/00-00-00-00-32/0640.endOfAppCovFile.png" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;br /&gt;The session file data for each profiled process will remain open.&amp;nbsp; Allowing you the option to print the coverage data, view the profiled source code, and or export to ether XML or CSV formats.&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;Here is an example of the coverage data for one of the processes profiled in this example.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-32/1376.coverage.png"&gt;&lt;span style="color:#000000;"&gt;&lt;img alt=" " src="/resized-image.ashx/__size/550x0/__key/communityserver-wikis-components-files/00-00-00-00-32/1376.coverage.png" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;br /&gt;&lt;br /&gt;To learn more about profiling for Coverage or Performance Analysis, consult the DevPartner Studio User Guide (Micro Focus,&amp;nbsp;2013, p.&amp;nbsp;109),&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;b&gt;References&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="color:#000000;"&gt;Micro Focus (2013).&amp;nbsp;&lt;i&gt;Understanding DevPartner -Chapter 4 &amp;ldquo;Automatic Code Coverage&amp;rdquo;&lt;/i&gt;(109).&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Wiki Page: Missing VCBuild For VS2003</title><link>http://community.microfocus.com/borland/develop/devpartner_-_code_analysis/w/knowledge_base/22037.missing-vcbuild-for-vs2003.aspx</link><pubDate>Tue, 30 Apr 2013 21:19:00 GMT</pubDate><guid isPermaLink="false">54bbee7a-c175-4025-be9a-1a32ff3149a0:wiki:22037</guid><dc:creator>Anthony Hollis</dc:creator><description>&lt;p&gt;&lt;span style="font-size:medium;"&gt;&lt;strong&gt;Problem:&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;If you attempt to build an application with instrumentation for Dev Partner Studio from the command line, the documentation advises you to use nmvcbuild.exe for Visual Studio 2003 for DPS 8.2.4 and earlier.&amp;nbsp; However, nmvcbuild.exe attempts to invoke vcbuild.exe which was not shipped with VS 2003.&amp;nbsp; The documentation also advises that you can download vcbuild.exe for VS 2003 directly from Microsoft.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:medium;"&gt;&lt;strong&gt;Resolution:&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You can try downloading vcbuild.exe for VS 2003 from the following link:&lt;br /&gt;&lt;a href="http://web.archive.org/web/20051103044322/http:/www.gotdotnet.com/team/cplusplus/samples/vcbuild.zip"&gt;http://web.archive.org/web/20051103044322/http://www.gotdotnet.com/team/cplusplus/samples/vcbuild.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:small;"&gt;&lt;strong&gt;Additional Information with further alternatives:&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://community.microfocus.com/borland/develop/devpartner_-_code_analysis/w/knowledge_base/21213.com-interface-tracking.aspx"&gt;http://community.microfocus.com/borland/develop/devpartner_-_code_analysis/w/knowledge_base/21213.com-interface-tracking.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Wiki Page: Problems with Terminating DPS When Running As Limited User on Windows XP</title><link>http://community.microfocus.com/borland/develop/devpartner_-_code_analysis/w/knowledge_base/21186.problems-with-terminating-dps-when-running-as-limited-user-on-windows-xp.aspx</link><pubDate>Wed, 03 Apr 2013 12:44:00 GMT</pubDate><guid isPermaLink="false">54bbee7a-c175-4025-be9a-1a32ff3149a0:wiki:21186</guid><dc:creator>Angela</dc:creator><description>&lt;div class="articlebody"&gt;  &lt;div&gt;  &lt;div class="date1"&gt;Created On:&amp;nbsp;&amp;nbsp;June 7, 2010&lt;/div&gt;  &lt;h2 class="sectiontitle"&gt;Problem:&lt;/h2&gt;  &lt;div class="section"&gt;&lt;span style="line-height:115%;font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:11pt;"&gt;On Windows XP it is possible to run DevPartner Studio from a limited account.&lt;span&gt;&amp;nbsp; &lt;/span&gt;However if you run Error Detection on an application, you will run into a problem when you attempt to close the “DevPartner Error Detection – Active Session” tab. When you attempt to close the tab, the message “You cannot close this window while debugging.” will be displayed. &lt;/span&gt;&lt;/div&gt;  &lt;h2 class="sectiontitle"&gt;Resolution:&lt;/h2&gt;  &lt;div class="section"&gt;&lt;span style="line-height:115%;font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:11pt;"&gt;Modify the local security policy of the XP machine in question to give the limited account the “Debug programs” permission.&lt;/span&gt;&lt;/div&gt;  &lt;/div&gt;  &lt;div class="signpost"&gt;2455625&lt;/div&gt;  &lt;/div&gt;  &lt;div class="articleId"&gt;Old KB# 31155&lt;/div&gt;</description></item><item><title>Wiki Page: Installation repair on DevPartner 10.5 causes Error Detection to crash</title><link>http://community.microfocus.com/borland/develop/devpartner_-_code_analysis/w/knowledge_base/21185.installation-repair-on-devpartner-10-5-causes-error-detection-to-crash.aspx</link><pubDate>Wed, 03 Apr 2013 12:43:00 GMT</pubDate><guid isPermaLink="false">54bbee7a-c175-4025-be9a-1a32ff3149a0:wiki:21185</guid><dc:creator>Angela</dc:creator><description>&lt;div class="articlebody"&gt;  &lt;div&gt;  &lt;div class="date1"&gt;Created On:&amp;nbsp;&amp;nbsp;11/7/2011&lt;/div&gt;  &lt;h2 class="sectiontitle"&gt;Problem:&lt;/h2&gt;  &lt;div class="section"&gt;&lt;p&gt;If a customer performs a repair on the product, the registry value for “Coredir” is appeneded with \x64\ which will cause BoundsChecker to crash.&lt;/p&gt;&lt;/div&gt;  &lt;h2 class="sectiontitle"&gt;Resolution:&lt;/h2&gt;  &lt;div class="section"&gt;&lt;p&gt;Fix: Delete \x64\ in the registry at the end of the string value.&lt;/p&gt;&lt;/div&gt;  &lt;/div&gt;  &lt;div class="signpost"&gt;Known issue.&lt;/div&gt;  &lt;/div&gt;  &lt;div class="articleId"&gt;Old KB# 35181&lt;/div&gt;</description></item><item><title>Wiki Page: DP Analysis Remote Profiling procedure on VISTA OS or later</title><link>http://community.microfocus.com/borland/develop/devpartner_-_code_analysis/w/knowledge_base/21183.dp-analysis-remote-profiling-procedure-on-vista-os-or-later.aspx</link><pubDate>Wed, 03 Apr 2013 12:42:00 GMT</pubDate><guid isPermaLink="false">54bbee7a-c175-4025-be9a-1a32ff3149a0:wiki:21183</guid><dc:creator>Angela</dc:creator><description>&lt;div class="articlebody"&gt;  &lt;div&gt;  &lt;div class="date1"&gt;Created On:&amp;nbsp;&amp;nbsp;11/7/2011&lt;/div&gt;  &lt;h2 class="sectiontitle"&gt;Problem:&lt;/h2&gt;  &lt;div class="section"&gt;Updated procedure for&amp;nbsp;DP Analysis Remote Profiling&amp;nbsp;on VISTA OS or later (Win 7, Win 2008, etc.).&lt;/div&gt;  &lt;h2 class="sectiontitle"&gt;Resolution:&lt;/h2&gt;  &lt;div class="section"&gt;&lt;p&gt;FIREWALL CONFIGURATION&lt;br /&gt;•&amp;nbsp;Local and Remote Machine (Windows Firewall)&lt;br /&gt;-&amp;nbsp;Add an inbound/outbound rule for NCS.EXE process with all ports enabled.&lt;br /&gt;-&amp;nbsp;Add a connection security rule for the IP address of the other endpoint machine to allow connection (e.g. the rule in the Local machine specifies the IP of the Remote machine to be exempted from authentication requirements and vice versa)&lt;/p&gt;  &lt;p&gt;•&amp;nbsp;Remote Machine (Windows Firewall)&lt;br /&gt;-&amp;nbsp;Add an inbound/outbound rule for TCP port 37493.&lt;/p&gt;  &lt;p&gt;COMPONENT SERVICES&lt;br /&gt;•&amp;nbsp;Local and Remote Machine &lt;br /&gt;1.&amp;nbsp;From the Start menu, type DCOMCNFG.EXE at the Search box.&lt;br /&gt;2.&amp;nbsp;Execute the DCOMCNFG.EXE from the search result. This opens the Component Services application.&lt;br /&gt;3.&amp;nbsp;On the tree view at the left side of the GUI, navigate to Console Root  Component Services  Computers  My Computer. Right-click on My Computer and select Properties from the context menu.&lt;br /&gt;4.&amp;nbsp;On My Computer Properties dialog, select the COM Security tab.&lt;br /&gt;5.&amp;nbsp;Under Access Permissions, select Edit Limits… button and make these changes:&lt;br /&gt;a.&amp;nbsp;Click Add… and enter Authenticated Users&lt;br /&gt;b.&amp;nbsp;Provide Local and Remote access by enabling the corresponding check box.&lt;br /&gt;c.&amp;nbsp;Click OK button to apply changes&lt;br /&gt;6.&amp;nbsp;For Win2008/2008R2 only: &lt;br /&gt;a.&amp;nbsp;Add the Distributed COM Users group having Local and Remote access by following step 5.&lt;br /&gt;b.&amp;nbsp;Under Launch and Activation Permissions section, select Edit Limits… button and make sure that the Distributed COM Users have permissions for Local Launch, Remote Launch, Local Activation and Remote Activation.&amp;nbsp; If the said user group is missing, then add it and apply the corresponding permissions.&lt;br /&gt;7.&amp;nbsp;Click OK to apply changes and to close the My Computer Properties dialog.&lt;/p&gt;  &lt;p&gt;&lt;br /&gt;MACHINE LOCAL SECURITY POLICY&lt;br /&gt;•&amp;nbsp;Local and Remote Machine &lt;br /&gt;1.&amp;nbsp;In the Control Panel, open Administrative Tools  Local Security Policy  Local Policies  Security Options.&lt;br /&gt;2.&amp;nbsp;Open the properties for Network Access: Let Everyone permissions apply to anonymous users.&lt;br /&gt;3.&amp;nbsp;Select the Enabled radio button and click OK to apply changes.&lt;/p&gt;  &lt;p&gt;&lt;br /&gt;RECOMMENDATIONS&lt;br /&gt;Starting from Vista OS, the following items also need to be considered in order for the Remote Profiling feature to work properly.&lt;br /&gt;•&amp;nbsp; A user with administrative privilege is necessary for configuring DP Remote Profiling because user elevation as Administrator is needed&amp;nbsp; when setting up the security requirements in the Local and Remote machine.&lt;br /&gt;•&amp;nbsp;Win 7 OS, Win2008/2008R2: The changes made to both Component Services and Machine Local Security Policy will require a machine reboot to fully take effect.&lt;br /&gt;•&amp;nbsp;If a 3rd party anti-virus program is managing the windows firewall (e.g. Symantec Endpoint&amp;nbsp; Protection), define the firewall rules (program, port, IP) in the managing application rather than in the Windows Firewall console.&amp;nbsp; The reason for this is that the rules in the managing application takes precedence over the Windows firewall rules.&lt;br /&gt;•&amp;nbsp;Make sure the firewall rules necessary for Remote Profiling (program, port and IP) takes priority over the existing firewall rules esp. if the firewall has the means to prioritize rules (topmost rule in the list is the highest).&lt;br /&gt;•&amp;nbsp;If ever the Local and Remote machines are running in a virtual environment (e.g. VMWare Workstation), make sure that the security application (e.g. Symantec Endpoint&amp;nbsp; Protection) of the Host machine allows communication on the IPs used by both Local, Remote machine and the virtual network.&lt;br /&gt;•&amp;nbsp;Any name and MAC address conflicts on the network esp. when using cloned virtual machines affects Remote Profiling functionality.&lt;br /&gt;•&amp;nbsp;Never use the Force Profiling switch /f for DPAnalysis when remote profiling an application with a .NET module loaded (aka mix-mode)&amp;nbsp; or a pure .NET&amp;nbsp; application because it leads to initialization issues especially if it is a 64-bit process.&lt;/p&gt;  &lt;p&gt;------------------------------&lt;/p&gt;  &lt;p&gt;The existing procedure we have for Remote Profiling found in our product doc “Understanding DevPartner Studio” still holds true for WinXP or older OS. Thus the procedure described above is intended as an additional information when configure machines having VISTA or later OS (Win7, Win2008/2008R2).&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;  &lt;/div&gt;  &lt;div class="signpost"&gt;&amp;nbsp;none&lt;/div&gt;  &lt;/div&gt;  &lt;div class="articleId"&gt;Old KB# 35182&lt;/div&gt;</description></item><item><title>Wiki Page: Executables and or Modules outside of current project scope are included during profiling</title><link>http://community.microfocus.com/borland/develop/devpartner_-_code_analysis/w/knowledge_base/21184.executables-and-or-modules-outside-of-current-project-scope-are-included-during-profiling.aspx</link><pubDate>Wed, 03 Apr 2013 12:42:00 GMT</pubDate><guid isPermaLink="false">54bbee7a-c175-4025-be9a-1a32ff3149a0:wiki:21184</guid><dc:creator>Angela</dc:creator><description>&lt;p style="background:white;line-height:13.5pt;"&gt;&lt;strong&gt;&lt;span style="color:#333333;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:13.5pt;" lang="EN"&gt;Problem:&lt;/span&gt;&lt;/strong&gt;&lt;span style="color:#333333;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:9pt;" lang="EN"&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="background:white;line-height:13.5pt;"&gt;&lt;span style="color:#333333;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:9pt;" lang="EN"&gt;Session file data has information that is not relevant to the current project/solution. Or, under &amp;quot;Modules &amp;amp; Files&amp;quot;, the list indicates executables and modules that are being profiled during the session but may not be relevant or desired by the user. &lt;/span&gt;&lt;/p&gt; &lt;p style="background:white;line-height:13.5pt;"&gt;&lt;strong&gt;&lt;span style="color:#333333;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:13.5pt;" lang="EN"&gt;Resolution:&lt;/span&gt;&lt;/strong&gt;&lt;span style="color:#333333;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:9pt;" lang="EN"&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="background:white;line-height:13.5pt;"&gt;&lt;span style="color:#333333;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:9pt;" lang="EN"&gt;During the first run with Error Detection, &amp;quot;Modules &amp;amp; Files&amp;quot; which is located in the DevPartner options will list all of the modules and executables that were loaded with the application&amp;#39;s process space. After reviewing your session file, if you notice extra information that is not a part of your application, or additional &amp;quot;noise&amp;quot;, you can exclude that information by deselecting any modules or files from within the list.&lt;/span&gt;&lt;/p&gt; &lt;p style="background:white;line-height:13.5pt;"&gt;&lt;span style="color:#333333;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:9pt;" lang="EN"&gt;1. Go to &amp;quot;DevPartner&amp;gt;Options&amp;gt;Error Detection&amp;gt;Modules and Files&amp;quot;&lt;br /&gt;2. Uncheck modules as necessary&lt;/span&gt;&lt;/p&gt; &lt;p style="background:white;line-height:13.5pt;"&gt;&lt;strong&gt;&lt;i&gt;&lt;span style="color:#333333;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:9pt;" lang="EN"&gt;*Note:&lt;/span&gt;&lt;/i&gt;&lt;/strong&gt;&lt;em&gt;&lt;span style="color:#333333;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:9pt;" lang="EN"&gt; After the exclusion of any extra modules, there may be noticeable gain in performance.&lt;/span&gt;&lt;/em&gt;&lt;span style="color:#333333;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:9pt;" lang="EN"&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Wiki Page: DevPartner 10.0 - Pressing the instrumentation button in Visual Studio causes a 3-4 minute delay</title><link>http://community.microfocus.com/borland/develop/devpartner_-_code_analysis/w/knowledge_base/21180.devpartner-10-0-pressing-the-instrumentation-button-in-visual-studio-causes-a-3-4-minute-delay.aspx</link><pubDate>Wed, 03 Apr 2013 12:41:00 GMT</pubDate><guid isPermaLink="false">54bbee7a-c175-4025-be9a-1a32ff3149a0:wiki:21180</guid><dc:creator>Angela</dc:creator><description>&lt;div class="articlebody"&gt;  &lt;div&gt;  &lt;div class="date1"&gt;Created On:&amp;nbsp;&amp;nbsp;11/7/2011&lt;/div&gt;  &lt;h2 class="sectiontitle"&gt;Problem:&lt;/h2&gt;  &lt;div class="section"&gt;For DevPartner version 10.0, the issue is that under Visual Studio 2010 when&amp;nbsp;selecting the instrument icon for Error Detection Instrumentation, Visual Studio goes into a NOT RESPONDING state and stays that way for between 3 and 4 minutes.&amp;nbsp; Error Detection does appear to work after the 3 - 4 minutes, but whether&amp;nbsp; enabling or disabling the C/C++ instrumentation prior to building, it is the long delay that is not satisfactory.&amp;nbsp; This is not perceived in Visual Studio 2008.&lt;br /&gt;&lt;/div&gt;  &lt;h2 class="sectiontitle"&gt;Resolution:&lt;/h2&gt;  &lt;div class="section"&gt;&lt;p&gt;The reason&amp;nbsp;this behavior is not noticed&amp;nbsp;in VS2008 is because Microsoft had made changes in VS2010, namely changing the build platform to MSBUILD.&amp;nbsp; Based on how MSBUILD works and how we need to cycle through every user file for each project to modify the instrumentation state; the larger the project number, the longer it will take for us to turn on instrumentation.&amp;nbsp; Unfortunately, this is working as designed and the only option is to request an Enhancement Change from Microsoft to change the build sequence.&amp;nbsp;&amp;nbsp;So long as you leave instrumentation on, you will only see this delay hit once until you turn it off again.&lt;br /&gt;&lt;br /&gt;NOTE: Changes to the code logic in 10.5 have sped up up the turning on/off of Instrumentation&lt;/p&gt;  &lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;  &lt;/div&gt;  &lt;div class="signpost"&gt;2463773&lt;/div&gt;  &lt;/div&gt;  &lt;div class="articleId"&gt;Old KB# 35183&lt;/div&gt;</description></item><item><title>Wiki Page: DevPartner installation hangs at "Create New Rules" step</title><link>http://community.microfocus.com/borland/develop/devpartner_-_code_analysis/w/knowledge_base/21182.devpartner-installation-hangs-at-create-new-rules-step.aspx</link><pubDate>Wed, 03 Apr 2013 12:41:00 GMT</pubDate><guid isPermaLink="false">54bbee7a-c175-4025-be9a-1a32ff3149a0:wiki:21182</guid><dc:creator>Angela</dc:creator><description>&lt;div class="articlebody"&gt;  &lt;div&gt;  &lt;div class="date1"&gt;Created On:&amp;nbsp;&amp;nbsp;11/7/2011&lt;/div&gt;  &lt;h2 class="sectiontitle"&gt;Problem:&lt;/h2&gt;  &lt;div class="section"&gt;When trying to install DevPartner on Windows 7 machine, the installation is hanging at the &amp;quot;create new rules&amp;quot; step. Nothing works any further. (Windows 7 / 64bit).&lt;/div&gt;  &lt;h2 class="sectiontitle"&gt;Resolution:&lt;/h2&gt;  &lt;div class="section"&gt;&lt;p&gt;The step&amp;nbsp;that the install is failing at is indicative of&amp;nbsp;the system&amp;#39;s inability to read the VBscript.&amp;nbsp; It could be that&amp;nbsp;the VBscript engine is disabled, but either way, please run this Microsoft fix:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://go.microsoft.com/?linkid=9648765"&gt;http://go.microsoft.com/?linkid=9648765&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;  &lt;/div&gt;  &lt;div class="signpost"&gt;2488732&lt;/div&gt;  &lt;/div&gt;  &lt;div class="articleId"&gt;Old KB# 35179&lt;/div&gt;</description></item><item><title>Wiki Page: 'WatchListErrorCode=ErrorAlreadyExists</title><link>http://community.microfocus.com/borland/develop/devpartner_-_code_analysis/w/knowledge_base/21179.watchlisterrorcode-erroralreadyexists.aspx</link><pubDate>Wed, 03 Apr 2013 12:40:00 GMT</pubDate><guid isPermaLink="false">54bbee7a-c175-4025-be9a-1a32ff3149a0:wiki:21179</guid><dc:creator>Angela</dc:creator><description>&lt;div class="articlebody"&gt;  &lt;div&gt;  &lt;div class="date1"&gt;Created On:&amp;nbsp;&amp;nbsp;&lt;/div&gt;  &lt;h2 class="sectiontitle"&gt;Problem:&lt;/h2&gt;  &lt;div class="section"&gt;&lt;p&gt;After installing DevPartner 10.5.2 and running Error Detection, we get &amp;quot;Error: There was an error injecting the process.&amp;nbsp; The error returned was: &amp;#39;WatchListErrorCode=ErrorAlreadyExists&amp;#39;. Please contact support for help.&amp;quot;&lt;br /&gt;&lt;br /&gt;Followed by:&lt;br /&gt;[CRunManager::InjectNow() - BCAX::StartRecording() FAILED: hr=0x80004005]&lt;/p&gt;&lt;/div&gt;  &lt;h2 class="sectiontitle"&gt;Resolution:&lt;/h2&gt;  &lt;div class="section"&gt;&lt;p&gt;Check the Project Properties.&amp;nbsp; Once you have the Property Pages up, go to Configuration Properties &amp;gt; General and check that the Output and Intermediate Directories do not have a &amp;quot;.\” anywhere in the path(s). &amp;nbsp;If it is present, then please delete the &amp;quot;.\&amp;quot;.&lt;/p&gt;  &lt;p&gt;Next Check Configuration Properties &amp;gt; Debugging and ensure that the Command value does not have a &amp;quot;.\&amp;quot; value as well.&amp;nbsp; You can check this by selecting the Text Box for the value and choosing &amp;quot;Edit&amp;quot; from the Dropdown menu.&amp;nbsp; This will bring up the whole string, but more often than not what is there by default is usually just the $(TargetPath) macro.&lt;br /&gt;&lt;br /&gt;Save the settings and restart Visual Studio.&lt;/p&gt;&lt;/div&gt;  &lt;/div&gt;  &lt;div class="signpost"&gt;2537404&lt;/div&gt;  &lt;/div&gt;  &lt;div class="articleId"&gt;Old KB# 35178&lt;/div&gt;</description></item><item><title>Wiki Page: MSBuild vs NMVCBuild</title><link>http://community.microfocus.com/borland/develop/devpartner_-_code_analysis/w/knowledge_base/21152.msbuild-vs-nmvcbuild.aspx</link><pubDate>Tue, 02 Apr 2013 16:34:00 GMT</pubDate><guid isPermaLink="false">54bbee7a-c175-4025-be9a-1a32ff3149a0:wiki:21152</guid><dc:creator>Anthony Hollis</dc:creator><description>&lt;p&gt;&lt;b&gt;Problem:&lt;/b&gt;&lt;/p&gt; &lt;p&gt;When building with instrumentation from the command line, and depending on your version of Visual Studio, you will either have to invoke MSBuild or NMVCBuild. Without understanding the differences in setup for either build utility,&amp;nbsp;chances are, attempting to successfully build your solution may prove difficult.&lt;/p&gt; &lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Resolution:&lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="color:#ff0000;"&gt;&lt;em&gt;&lt;b&gt;*For Visual Studio Versions 2008 and prior&lt;/b&gt;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;1. Ensure that NMVCBUILD is in the &amp;quot;&lt;i&gt;path&lt;/i&gt;&amp;quot; (Enviornment Settings)&lt;/p&gt; &lt;p&gt;2. Ensure that VCBuild is in the &amp;quot;&lt;i&gt;path&lt;/i&gt;&amp;quot; (Environment Settings)&lt;/p&gt; &lt;p&gt;3. When opening a command prompt, navigate to the vcvars32.bat from the version of Visual Studio that your project was created from, and execute from that directory.&lt;/p&gt; &lt;p&gt;4. To execute the build from the command line, navigate to your project and run the following: &amp;ldquo;&lt;i&gt;nmvcbuild/nmbcon&amp;nbsp; projectName.proj&lt;/i&gt;&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="color:#ff0000;background-color:#ffffff;"&gt;&lt;em&gt;&lt;strong&gt;*For Visual Studio Version 2010 and onward&lt;/strong&gt;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;**NMVCBuild and VCbuilld are now irrelevant&lt;/em&gt;&lt;/p&gt; &lt;p&gt;1. Open a command window, navigate to vcvars32.bat from the version of Visual studio used for your project&lt;/p&gt; &lt;p&gt;2. From the command line, navigate to the folder that has the &amp;quot;&lt;i&gt;sln&lt;/i&gt;&amp;quot; file and excute the following:&amp;nbsp; &amp;quot;msbuild projectName.sln&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt; &lt;p&gt;&lt;b&gt;*Note:&lt;/b&gt; &lt;b&gt;MSBuild&lt;/b&gt; is ran against the solution file, whereas &lt;b&gt;NMVCBbuild&lt;/b&gt; in VS2008 and prior is ran against the project file.&lt;/p&gt;</description></item><item><title>Wiki Page: Knowledge Base</title><link>http://community.microfocus.com/borland/develop/devpartner_-_code_analysis/w/knowledge_base/default.aspx</link><pubDate>Mon, 18 Feb 2013 13:14:00 GMT</pubDate><guid isPermaLink="false">54bbee7a-c175-4025-be9a-1a32ff3149a0:wiki:920</guid><dc:creator>Jon Bourne</dc:creator><description>&lt;p&gt;Welcome to the&amp;nbsp;DevPartner Knowledge Base. The Knowledge Base contains a large amount of information that may answer any technical questions you have. To take full advantage of the Knowledge Bases across the Community please use the site search found in the top right hand corner of your Internet page. This search offers a wide range of customisation to narrow down your search to find your article.&amp;nbsp; If you fail to find a solution here SupportLine will be able to assist you further.&lt;/p&gt;</description></item><item><title>Wiki Page: DevPartnerJava compatibility with IE 9</title><link>http://community.microfocus.com/borland/develop/devpartner_-_code_analysis/w/knowledge_base/19850.devpartnerjava-compatibility-with-ie-9.aspx</link><pubDate>Sat, 16 Feb 2013 03:39:00 GMT</pubDate><guid isPermaLink="false">54bbee7a-c175-4025-be9a-1a32ff3149a0:wiki:19850</guid><dc:creator>admin</dc:creator><description>&lt;div class="articlebody"&gt;  &lt;div&gt;  &lt;div class="date1"&gt;Created On:&amp;nbsp;&amp;nbsp;20 July 2012&lt;/div&gt;  &lt;h2 class="sectiontitle"&gt;Problem:&lt;/h2&gt;  &lt;div class="section"&gt;Windows users will be upgrading to Internet Explorer 9 as part of Windows Updates, but still need to use the browser to display the DevPartner for Java Graphical User Interface.&lt;/div&gt;  &lt;h2 class="sectiontitle"&gt;Resolution:&lt;/h2&gt;  &lt;div class="section"&gt;No formal testing has been compatible with Internet Explorer 9. But cursory testing indicates that as long as the Java plugin is from a Oracle Java JRE 1.6 version 24 or later, Internet Explorer&amp;nbsp;seems to be&amp;nbsp;compatible with DevPartner for Java 4.5.&lt;/div&gt;  &lt;/div&gt;  &lt;div class="signpost"&gt;Incident #2583930&lt;/div&gt;  &lt;/div&gt;  &lt;div class="articleId"&gt;Old KB# 36131&lt;/div&gt;</description></item><item><title>Wiki Page: Install CES licenses in DevPartner 10.6</title><link>http://community.microfocus.com/borland/develop/devpartner_-_code_analysis/w/knowledge_base/19853.install-ces-licenses-in-devpartner-10-6.aspx</link><pubDate>Sat, 16 Feb 2013 03:39:00 GMT</pubDate><guid isPermaLink="false">54bbee7a-c175-4025-be9a-1a32ff3149a0:wiki:19853</guid><dc:creator>admin</dc:creator><description>&lt;div class="articlebody"&gt;  &lt;div&gt;  &lt;div class="date1"&gt;Created On:&amp;nbsp;&amp;nbsp;23 July 2012&lt;/div&gt;  &lt;h2 class="sectiontitle"&gt;Problem:&lt;/h2&gt;  &lt;div class="section"&gt;With the migration of DevPartner from DLM to CES Safenet Sentinal licensing systems the method of installing licenses will change from file based authorization to authorization based licensing.&lt;/div&gt;  &lt;h2 class="sectiontitle"&gt;Resolution:&lt;/h2&gt;  &lt;div class="section"&gt;1. Open up the Micro Focus Licensing System Administration Tool &amp;quot;C:\Program Files (x86)\Common Files\SafeNet Sentinel\Sentinel RMS License Manager\WINNT\CesAdminTool.exe&amp;quot; or use the GUI. Continue with Step 2 if the license will be installed on this machine. If the license has already been installed on a central license server, skip to Step 5. &lt;br /&gt;&lt;br /&gt;2. Click on the Authorize tab. In the &amp;quot;Enter authorization code:&amp;quot; dialog box, clear the &amp;quot;Input your authorization code&amp;quot; string and enter the 16 digit hexadecimal authorization code you received via email. &lt;br /&gt;&lt;br /&gt;3. Note if the DevPartner product you purchased is displayed under the Licenses tab. &lt;br /&gt;&lt;br /&gt;4. Net stop and restart mfcesd or reboot. Under Windows Services it will be noted as &amp;quot;Micro Focus CES daemon&amp;quot;. Use steps 5 and 6 below only if the license resides on a remote server. &lt;br /&gt;&lt;br /&gt;5. After launching the License Management System tool as in step 1. Open Options/ Advanced Configuration to display the Advanced Configuration dialog box. &lt;br /&gt;&lt;br /&gt;6. Change the value of &amp;quot;License Server&amp;quot; from 127.0.0.1 to the address of your license server. You may try the short name, but if that does not work, try the v4 IP address of that server. &lt;br /&gt;&lt;br /&gt;Ensure that port 5093 is opened to permit the license client to communicate with the server. &lt;/div&gt;  &lt;/div&gt;  &lt;div class="signpost"&gt;&lt;/div&gt;  &lt;/div&gt;  &lt;div class="articleId"&gt;Old KB# 36136&lt;/div&gt;</description></item><item><title>Wiki Page: Support for borrowing licenses with DevPartner 10.6</title><link>http://community.microfocus.com/borland/develop/devpartner_-_code_analysis/w/knowledge_base/19854.support-for-borrowing-licenses-with-devpartner-10-6.aspx</link><pubDate>Sat, 16 Feb 2013 03:39:00 GMT</pubDate><guid isPermaLink="false">54bbee7a-c175-4025-be9a-1a32ff3149a0:wiki:19854</guid><dc:creator>admin</dc:creator><description>&lt;div class="articlebody"&gt;  &lt;div&gt;  &lt;div class="date1"&gt;Created On:&amp;nbsp;&amp;nbsp;23 July 2012&lt;/div&gt;  &lt;h2 class="sectiontitle"&gt;Problem:&lt;/h2&gt;  &lt;div class="section"&gt;&lt;p&gt;Support for borrowing licenses is available upon request for DevPartner 10.5 and earlier version concurrent licenses. With the migration of the licensing system used by DevPartner from DLM to CES Safenet Sentinel there will still be a need for borrowing licensese for users without network access to the CES Safenet Sentinel License Server.&lt;/p&gt;&lt;/div&gt;  &lt;h2 class="sectiontitle"&gt;Resolution:&lt;/h2&gt;  &lt;div class="section"&gt;The standard DevPartner 10.6 concurrent license key has support for Commuting, which has the same functionality as Borrowing under DLM in prior versions of DevPartner. To commute a license to the client PC, open up the Micro Focus License Administration Utility and navigate to the Commuter Tab. Select on the Product to be Commuted, for example DPS Professional 10.6 and click on the &amp;quot;Commute&amp;quot; button. The license will not be available for any other user or machine until the license is returned. To return the license, open up the Micro Focus License Administration Utility and navigate to the Commuter Tab. Select on the Product to be Commuted, for example DPS Professional 10.6 and click on the &amp;quot;Return License&amp;quot; button. &lt;/div&gt;  &lt;/div&gt;  &lt;div class="signpost"&gt;&lt;/div&gt;  &lt;/div&gt;  &lt;div class="articleId"&gt;Old KB# 36137&lt;/div&gt;</description></item></channel></rss>