<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>PowerDbg - Automated Debugging using WinDbg and PowerShell</title><link>http://powerdbg.codeplex.com/project/feeds/rss</link><description>&amp;#42;PowerDbg is a PowerShell library that enables the automation of the debugging session through PowerShell scripts and WinDbg.&amp;#42;   Description&amp;#58;      &amp;#91;url&amp;#58;http&amp;#58;&amp;#47;&amp;#47;blogs.msdn.com&amp;#47;debuggingtoolbox&amp;#47;archive&amp;#47;tags&amp;#47;PowerDbg&amp;#43;Library&amp;#47;default.aspx&amp;#93;      Scripts based on PowerDbg&amp;#58;      &amp;#91;url&amp;#58;http&amp;#58;&amp;#47;&amp;#47;blogs.msdn</description><item><title>Closed Feature: Provide command outputs as pipeline objects [26930]</title><link>http://powerdbg.codeplex.com/workitem/26930</link><description>Currently PowerDBG caches command outputs on a global variable, which can be used by various of the Parse... methods.&lt;br /&gt;&amp;#160;&lt;br /&gt;Instead PowerDBG should parse the command outputs inline, and output pipeline objects that can be further filtered and pipelined. The output from &amp;#33;do should look a lot like the original object, for example.&lt;br /&gt;&amp;#160;&lt;br /&gt;Where this is not appropriate, the command text should be passed to the pipeline instead&lt;br /&gt;</description><author>piers7</author><pubDate>Thu, 16 May 2013 08:16:58 GMT</pubDate><guid isPermaLink="false">Closed Feature: Provide command outputs as pipeline objects [26930] 20130516081658A</guid></item><item><title>Closed Feature: Auto-detect location of Debugging Tools [26986]</title><link>http://powerdbg.codeplex.com/workitem/26986</link><description>Currently PowerDBG ships with a hard-coded default location for the debugging tools, that suits internal Microsoft usage. &lt;br /&gt;Instead this path should be auto-detected, where possible, with the ability to explicitly specify the debugging location via a parameter when needed.&lt;br /&gt;</description><author>piers7</author><pubDate>Thu, 16 May 2013 08:16:58 GMT</pubDate><guid isPermaLink="false">Closed Feature: Auto-detect location of Debugging Tools [26986] 20130516081658A</guid></item><item><title>Closed Task: Need a better structure for integration tests [27214]</title><link>http://powerdbg.codeplex.com/workitem/27214</link><description>Structure for unit tests is pretty good, but the &amp;#39;RunTests.ps1&amp;#39; that has all the integration tests in there is starting to look pretty messy. This needs splitting up &amp;#47; factoring out etc...&lt;br /&gt;</description><author>piers7</author><pubDate>Thu, 16 May 2013 08:16:58 GMT</pubDate><guid isPermaLink="false">Closed Task: Need a better structure for integration tests [27214] 20130516081658A</guid></item><item><title>Closed Issue: Get-DbgClrHeap fails on 32 bit [28870]</title><link>http://powerdbg.codeplex.com/workitem/28870</link><description>Needs regex patterns updated or modified to cope with different SOS output&lt;br /&gt;Needs unit tests to be split between 32 bit and 64 bit output formats&lt;br /&gt;</description><author>piers7</author><pubDate>Thu, 16 May 2013 08:16:57 GMT</pubDate><guid isPermaLink="false">Closed Issue: Get-DbgClrHeap fails on 32 bit [28870] 20130516081657A</guid></item><item><title>Closed Issue: Get-DbgRunaway fails on 32 bit [28871]</title><link>http://powerdbg.codeplex.com/workitem/28871</link><description>Needs regex patterns updated or modified to cope with different SOS output&lt;br /&gt;Needs unit tests to be split between 32 bit and 64 bit output formats&lt;br /&gt;</description><author>piers7</author><pubDate>Thu, 16 May 2013 08:16:57 GMT</pubDate><guid isPermaLink="false">Closed Issue: Get-DbgRunaway fails on 32 bit [28871] 20130516081657A</guid></item><item><title>Created Issue: No support for Load-DbgExtension sos clr [33211]</title><link>http://powerdbg.codeplex.com/workitem/33211</link><description>When running on windows 8 it is not possible to load the sos or any other extension using the clr switch. There is no alternative but to put the full path of the framework &amp;#40;i.e. C&amp;#58;&amp;#92;Windows&amp;#92;Microsoft.NET&amp;#92;Framework&amp;#92;v4.0.30319&amp;#41;&lt;br /&gt;</description><author>manukahn</author><pubDate>Wed, 10 Oct 2012 12:06:42 GMT</pubDate><guid isPermaLink="false">Created Issue: No support for Load-DbgExtension sos clr [33211] 20121010120642P</guid></item><item><title>New Post: Support for windows 8 and WDK in PowerDbg</title><link>http://powerdbg.codeplex.com/discussions/398803</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;In windows 8 debugging tools for windows comes in a new form called WDK.&lt;/p&gt;
&lt;p&gt;The home directory of the good old tools is now :&amp;nbsp;C:\Program Files (x86)\Windows Kits\8.0\Debuggers\x64 (for the 64 bit version) and&amp;nbsp;C:\Program Files (x86)\Windows Kits\8.0\Debuggers\x86 (for the 32 bit version)Unfortunately the PowerDbg module
 does not know that.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When loading the module it looks for the home directory of &amp;quot;debugging tools for windows&amp;quot; and put it in a global variable. ($debuggerRoot)&lt;/p&gt;
&lt;p&gt;We have to change the module file and add the correct directories.&lt;/p&gt;
&lt;p&gt;So open the module file (PowerDbg.psm1) and change the function Get-DbgToolsLocation&amp;nbsp;(line 428) so serach path will include the correct folders:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;$searchPaths = &amp;nbsp;&amp;quot;$env:programfiles\Debugging Tools for Windows (x64)&amp;quot;,&lt;br&gt;
&amp;quot;$env:programfiles\Debugging Tools for Windows (x86)&amp;quot;,&lt;span&gt; &lt;br&gt;
&lt;/span&gt;&lt;strong&gt;&amp;quot;$env:programfiles (x86)\Windows Kits\8.0\Debuggers\x64&amp;quot;, #windows 8
&lt;br&gt;
&amp;quot;$env:programfiles (x86)\Windows Kits\8.0\Debuggers\x86&amp;quot;, #windows 8 &lt;/strong&gt;&amp;nbsp;&lt;br&gt;
&amp;quot;C:\debuggers&amp;quot; &amp;nbsp;# for Microsoft internal installs&lt;/p&gt;
&lt;p&gt;As we can see from the code PowerDbg works with only one version at a time. (The first folder in the list)&amp;nbsp;&lt;br&gt;
To switch between x64 and x86 we have to change the order of the folder in the list. I think that a parameter should control that. (TBD)&lt;/p&gt;
&lt;p&gt;Manu&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;</description><author>manukahn</author><pubDate>Wed, 10 Oct 2012 11:44:07 GMT</pubDate><guid isPermaLink="false">New Post: Support for windows 8 and WDK in PowerDbg 20121010114407A</guid></item><item><title>Source code checked in, #99885</title><link>http://powerdbg.codeplex.com/SourceControl/changeset/changes/99885</link><description>Upgrade&amp;#58; New Version of LabDefaultTemplate.xaml. To upgrade your build definitions, please visit the following link&amp;#58; http&amp;#58;&amp;#47;&amp;#47;go.microsoft.com&amp;#47;fwlink&amp;#47;&amp;#63;LinkId&amp;#61;254563</description><author>Project Collection Service Accounts</author><pubDate>Mon, 01 Oct 2012 21:24:31 GMT</pubDate><guid isPermaLink="false">Source code checked in, #99885 20121001092431P</guid></item><item><title>Source code checked in, #99884</title><link>http://powerdbg.codeplex.com/SourceControl/changeset/changes/99884</link><description>Checked in by server upgrade</description><author>Project Collection Service Accounts</author><pubDate>Mon, 01 Oct 2012 21:16:08 GMT</pubDate><guid isPermaLink="false">Source code checked in, #99884 20121001091608P</guid></item><item><title>Commented Issue: Bug in dumpobjRegex throws error with Get-DbgObject [32931]</title><link>http://powerdbg.codeplex.com/workitem/32931</link><description>While trying to use Get-DbgObject with recent dumps from .Net v4 taken on WinServer 2008, I hit a number of situations on which Get-DbgObject throws an exception while parsing the return from its &amp;#34;&amp;#33;do&amp;#34; equivalent call.   I tracked this to a regex call in &amp;#34;Parse-DumpObject&amp;#34; at line 1527 in the current packaged download.   The line sequence reads as follows where the actual exception is thrown on line 1530 based on the parsing of the contents of &amp;#36;line&amp;#58;  &lt;br /&gt;&lt;br /&gt;                &amp;#35; Parse a line using regex&lt;br /&gt;                &amp;#36;match &amp;#61; &amp;#36;dumpobjRegex.Match&amp;#40;&amp;#36;line&amp;#41;&lt;br /&gt;                if&amp;#40;-not &amp;#40;&amp;#36;match.Success&amp;#41;&amp;#41;&amp;#123;&lt;br /&gt;                    Write-Verbose &amp;#34;Failing line &amp;#36;line&amp;#34;&lt;br /&gt;                    throw &amp;#34;Regex failing on &amp;#39;&amp;#36;line&amp;#39;&amp;#34;&lt;br /&gt;                &amp;#125;&lt;br /&gt;&lt;br /&gt;In my case, the raw call for my target object address returned a &amp;#39;&amp;#43;&amp;#39; sign in the truncated class type column.&lt;br /&gt;&lt;br /&gt;              MT    Field   Offset                 Type VT     Attr            Value Name&lt;br /&gt;000007fef8a2d440  4000072       4c       System.Boolean  1 instance                0 aborted&lt;br /&gt;000007fef8a2d440  4000073       4d       System.boolean  1 instance                0 closeCalled&lt;br /&gt;000007fef0af3608  4000074        8 ...ct&amp;#43;ExceptionQueue  0 instance 0000000000000000 exceptionQueue&lt;br /&gt;&lt;br /&gt;The fix I came up with is to edit the declaration for &amp;#36;dumpobjRegex made just prior in the code to the ParseDumpObject function.  &amp;#40;This is at line 1446 in the latest full download&amp;#41; and add the &amp;#34;&amp;#43;&amp;#34; sign to the allowable content values for that column.&lt;br /&gt;&lt;br /&gt;So the line there from the current release that reads&amp;#58;&lt;br /&gt;&amp;#92;s&amp;#43;&amp;#40;&amp;#63;&amp;#60;Type&amp;#62;&amp;#91; &amp;#92;.&amp;#92;w,-_&amp;#92;&amp;#91;&amp;#92;&amp;#93;&amp;#92;&amp;#96;&amp;#93;&amp;#123;0,24&amp;#125;&amp;#41;&amp;#63; &amp;#35; Type is 20 chars, 4 extra w&amp;#47;sp in .net 4, optional&lt;br /&gt;&lt;br /&gt;becomes&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#92;s&amp;#43;&amp;#40;&amp;#63;&amp;#60;Type&amp;#62;&amp;#91; &amp;#92;.&amp;#92;&amp;#43;&amp;#92;w,-_&amp;#92;&amp;#91;&amp;#92;&amp;#93;&amp;#92;&amp;#96;&amp;#93;&amp;#123;0,24&amp;#125;&amp;#41;&amp;#63; &amp;#35; Type is 20 chars, 4 extra w&amp;#47;sp in .net 4, optional&lt;br /&gt;&lt;br /&gt;This resolved this particular problem with Get-DbgObject.&lt;br /&gt;-Bob&lt;br /&gt;Comments: ** Comment from web user: BRiddle ** &lt;p&gt;This is the same issue, but differs from the fix provided in the issue titled &amp;#34;Get-DbgObject fails on a &amp;#34;Socket&amp;#34;.   The workaround provided in that the fix from that issue had added the plus sign without the escape symbol.  &lt;/p&gt;&lt;p&gt;I may be wrong, but from my read of the PowerShell documentation, putting the &amp;#39;&amp;#43;&amp;#39; sign without the escape I used in my &amp;#34;&amp;#92;&amp;#43;&amp;#34; addition does not mean add the plus to the allowable list of characters&amp;#47;sequences&amp;#59; but instead means that the regex should match &amp;#34;repeating instances of the specified pattern&amp;#34;.   So &amp;#34;&amp;#92;w&amp;#43;&amp;#34; means match repeating patterns of &amp;#34;&amp;#92;w&amp;#34; rather than to allow the plus sign as an escaped, literal character within that match set.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><author>BRiddle</author><pubDate>Thu, 12 Jul 2012 20:25:50 GMT</pubDate><guid isPermaLink="false">Commented Issue: Bug in dumpobjRegex throws error with Get-DbgObject [32931] 20120712082550P</guid></item><item><title>Created Issue: Bug in dumpobjRegex throws error with Get-DbgObject [32931]</title><link>http://powerdbg.codeplex.com/workitem/32931</link><description>While trying to use Get-DbgObject with recent dumps from .Net v4 taken on WinServer 2008, I hit a number of situations on which Get-DbgObject throws an exception while parsing the return from its &amp;#34;&amp;#33;do&amp;#34; equivalent call.   I tracked this to a regex call in &amp;#34;Parse-DumpObject&amp;#34; at line 1527 in the current packaged download.   The line sequence reads as follows where the actual exception is thrown on line 1530 based on the parsing of the contents of &amp;#36;line&amp;#58;  &lt;br /&gt;&lt;br /&gt;                &amp;#35; Parse a line using regex&lt;br /&gt;                &amp;#36;match &amp;#61; &amp;#36;dumpobjRegex.Match&amp;#40;&amp;#36;line&amp;#41;&lt;br /&gt;                if&amp;#40;-not &amp;#40;&amp;#36;match.Success&amp;#41;&amp;#41;&amp;#123;&lt;br /&gt;                    Write-Verbose &amp;#34;Failing line &amp;#36;line&amp;#34;&lt;br /&gt;                    throw &amp;#34;Regex failing on &amp;#39;&amp;#36;line&amp;#39;&amp;#34;&lt;br /&gt;                &amp;#125;&lt;br /&gt;&lt;br /&gt;In my case, the raw call for my target object address returned a &amp;#39;&amp;#43;&amp;#39; sign in the truncated class type column.&lt;br /&gt;&lt;br /&gt;              MT    Field   Offset                 Type VT     Attr            Value Name&lt;br /&gt;000007fef8a2d440  4000072       4c       System.Boolean  1 instance                0 aborted&lt;br /&gt;000007fef8a2d440  4000073       4d       System.boolean  1 instance                0 closeCalled&lt;br /&gt;000007fef0af3608  4000074        8 ...ct&amp;#43;ExceptionQueue  0 instance 0000000000000000 exceptionQueue&lt;br /&gt;&lt;br /&gt;The fix I came up with is to edit the declaration for &amp;#36;dumpobjRegex made just prior in the code to the ParseDumpObject function.  &amp;#40;This is at line 1446 in the latest full download&amp;#41; and add the &amp;#34;&amp;#43;&amp;#34; sign to the allowable content values for that column.&lt;br /&gt;&lt;br /&gt;So the line there from the current release that reads&amp;#58;&lt;br /&gt;&amp;#92;s&amp;#43;&amp;#40;&amp;#63;&amp;#60;Type&amp;#62;&amp;#91; &amp;#92;.&amp;#92;w,-_&amp;#92;&amp;#91;&amp;#92;&amp;#93;&amp;#92;&amp;#96;&amp;#93;&amp;#123;0,24&amp;#125;&amp;#41;&amp;#63; &amp;#35; Type is 20 chars, 4 extra w&amp;#47;sp in .net 4, optional&lt;br /&gt;&lt;br /&gt;becomes&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#92;s&amp;#43;&amp;#40;&amp;#63;&amp;#60;Type&amp;#62;&amp;#91; &amp;#92;.&amp;#92;&amp;#43;&amp;#92;w,-_&amp;#92;&amp;#91;&amp;#92;&amp;#93;&amp;#92;&amp;#96;&amp;#93;&amp;#123;0,24&amp;#125;&amp;#41;&amp;#63; &amp;#35; Type is 20 chars, 4 extra w&amp;#47;sp in .net 4, optional&lt;br /&gt;&lt;br /&gt;This resolved this particular problem with Get-DbgObject.&lt;br /&gt;-Bob&lt;br /&gt;</description><author>BRiddle</author><pubDate>Thu, 12 Jul 2012 20:16:38 GMT</pubDate><guid isPermaLink="false">Created Issue: Bug in dumpobjRegex throws error with Get-DbgObject [32931] 20120712081638P</guid></item><item><title>New Post: CDB process exited with the error code -1073741502</title><link>http://powerdbg.codeplex.com/discussions/358913</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hello Everyone,&lt;/p&gt;
&lt;p&gt;first post and am a bit of a noob with powerdbg (but am seriously loving it, i have used windbg for years so automating debugging is pretty fun).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am seeing some inconsistent behaviour when i am using powerdbg. when i open a powershell console, periodically when i attempt to execute my powerdbg scripts i get the following error returned:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;CDB process exited with error code -1073741502&lt;br&gt;
At C:\Users\sbanks\Documents\WindowsPowerShell\Modules\PowerDbg\PowerDbg.psm1:144 char:14&lt;br&gt;
&amp;#43;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; throw &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;nbsp; &amp;quot;CDB process exited with error code $($SCRIPT:windbgProcess.ExitCode)&amp;quot;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#43; CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : OperationStopped: (CDB process exi...ode -1073741502:String) [], RuntimeException&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#43; FullyQualifiedErrorId : CDB process exited with error code -1073741502&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;sometimes if i rerun the script it works, but more often than not i need to launch a new powershell in order to run my script.&lt;/p&gt;
&lt;p&gt;Is there something i am not doing that is causing this error? or if anyone has encountered this what have they done to work around it? i am considering maybe putting in some conditional logic to launch a new powershell when this occurs but before i do that
 just wanted to see if others have this issue&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;</description><author>kbninja13</author><pubDate>Fri, 08 Jun 2012 17:51:01 GMT</pubDate><guid isPermaLink="false">New Post: CDB process exited with the error code -1073741502 20120608055101P</guid></item><item><title>Commented Issue: New-DbgSession with -dump option failed. [32553]</title><link>http://powerdbg.codeplex.com/workitem/32553</link><description>Very new to PowerDbg...&lt;br /&gt;&lt;br /&gt;When I try creating a new debug session as following,&lt;br /&gt;PS C&amp;#58;&amp;#92;&amp;#62; New-DbgSession -dump C&amp;#58;&amp;#92;temp&amp;#92;DUMP417d.dmp&lt;br /&gt;&lt;br /&gt;this attemp throwed an exception as below.&lt;br /&gt;&lt;br /&gt;Exception calling &amp;#34;Start&amp;#34; with &amp;#34;1&amp;#34; argument&amp;#40;s&amp;#41;&amp;#58; &amp;#34;The system cannot find the file specified&amp;#34;&lt;br /&gt;At C&amp;#58;&amp;#92;Users&amp;#92;dchung&amp;#92;Documents&amp;#92;WindowsPowerShell&amp;#92;Modules&amp;#92;PowerDbg&amp;#92;PowerDbg.psm1&amp;#58;540 char&amp;#58;40&lt;br /&gt;&amp;#43;     &amp;#91;System.Diagnostics.Process&amp;#93;&amp;#58;&amp;#58;Start &amp;#60;&amp;#60;&amp;#60;&amp;#60; &amp;#40;&amp;#36;startInfo&amp;#41; &amp;#35; nb&amp;#58; returns process handle as function return&lt;br /&gt;    &amp;#43; CategoryInfo          &amp;#58; NotSpecified&amp;#58; &amp;#40;&amp;#58;&amp;#41; &amp;#91;&amp;#93;, MethodInvocationException&lt;br /&gt;    &amp;#43; FullyQualifiedErrorId &amp;#58; DotNetMethodException&lt;br /&gt;&lt;br /&gt;You cannot call a method on a null-valued expression.&lt;br /&gt;At C&amp;#58;&amp;#92;Users&amp;#92;dchung&amp;#92;Documents&amp;#92;WindowsPowerShell&amp;#92;Modules&amp;#92;PowerDbg&amp;#92;PowerDbg.psm1&amp;#58;238 char&amp;#58;23&lt;br /&gt;&amp;#43;     while&amp;#40;&amp;#36;reader.Peek &amp;#60;&amp;#60;&amp;#60;&amp;#60; &amp;#40;&amp;#41; -ge 0&amp;#41;&amp;#123; &amp;#35; -1 indicates no chars to be read&lt;br /&gt;    &amp;#43; CategoryInfo          &amp;#58; InvalidOperation&amp;#58; &amp;#40;Peek&amp;#58;String&amp;#41; &amp;#91;&amp;#93;, RuntimeException&lt;br /&gt;    &amp;#43; FullyQualifiedErrorId &amp;#58; InvokeMethodOnNull&lt;br /&gt;&lt;br /&gt;Create a PowerDbg session using Connect-Dbg first&lt;br /&gt;At C&amp;#58;&amp;#92;Users&amp;#92;dchung&amp;#92;Documents&amp;#92;WindowsPowerShell&amp;#92;Modules&amp;#92;PowerDbg&amp;#92;PowerDbg.psm1&amp;#58;269 char&amp;#58;14&lt;br /&gt;&amp;#43;         throw &amp;#60;&amp;#60;&amp;#60;&amp;#60;  &amp;#39;Create a PowerDbg session using Connect-Dbg first&amp;#39;&amp;#59;&lt;br /&gt;    &amp;#43; CategoryInfo          &amp;#58; OperationStopped&amp;#58; &amp;#40;Create a PowerD...nnect-Dbg first&amp;#58;String&amp;#41; &amp;#91;&amp;#93;, RuntimeException&lt;br /&gt;    &amp;#43; FullyQualifiedErrorId &amp;#58; Create a PowerDbg session using Connect-Dbg first&lt;br /&gt;&lt;br /&gt;Is there anyone successfully created a dump debug session&amp;#63;&lt;br /&gt;&lt;br /&gt;thanks in advance&lt;br /&gt;Comments: ** Comment from web user: geopgin ** &lt;p&gt;i corrected this by...&lt;/p&gt;&lt;p&gt;Modifying the Get-DbgToolsLocation&amp;#40;&amp;#41; function, specifically the &amp;#36;searchpaths to include the windows kit paths.&lt;/p&gt;&lt;p&gt;&amp;#34;C&amp;#58;&amp;#92;Program Files &amp;#40;x86&amp;#41;&amp;#92;Windows Kits&amp;#92;8.0&amp;#92;Debuggers&amp;#92;x86&amp;#34;,&lt;br /&gt;&amp;#34;C&amp;#58;&amp;#92;Program Files &amp;#40;x86&amp;#41;&amp;#92;Windows Kits&amp;#92;8.0&amp;#92;Debuggers&amp;#92;x64&amp;#34;&lt;/p&gt;&lt;p&gt;What didn&amp;#39;t work...&lt;/p&gt;&lt;p&gt;I created a path and included the above dirs, did not work.  Had to delete the path before the above worked&lt;/p&gt;</description><author>geopgin</author><pubDate>Thu, 07 Jun 2012 16:13:49 GMT</pubDate><guid isPermaLink="false">Commented Issue: New-DbgSession with -dump option failed. [32553] 20120607041349P</guid></item><item><title>Commented Issue: New-DbgSession with -dump option failed. [32553]</title><link>http://powerdbg.codeplex.com/workitem/32553</link><description>Very new to PowerDbg...&lt;br /&gt;&lt;br /&gt;When I try creating a new debug session as following,&lt;br /&gt;PS C&amp;#58;&amp;#92;&amp;#62; New-DbgSession -dump C&amp;#58;&amp;#92;temp&amp;#92;DUMP417d.dmp&lt;br /&gt;&lt;br /&gt;this attemp throwed an exception as below.&lt;br /&gt;&lt;br /&gt;Exception calling &amp;#34;Start&amp;#34; with &amp;#34;1&amp;#34; argument&amp;#40;s&amp;#41;&amp;#58; &amp;#34;The system cannot find the file specified&amp;#34;&lt;br /&gt;At C&amp;#58;&amp;#92;Users&amp;#92;dchung&amp;#92;Documents&amp;#92;WindowsPowerShell&amp;#92;Modules&amp;#92;PowerDbg&amp;#92;PowerDbg.psm1&amp;#58;540 char&amp;#58;40&lt;br /&gt;&amp;#43;     &amp;#91;System.Diagnostics.Process&amp;#93;&amp;#58;&amp;#58;Start &amp;#60;&amp;#60;&amp;#60;&amp;#60; &amp;#40;&amp;#36;startInfo&amp;#41; &amp;#35; nb&amp;#58; returns process handle as function return&lt;br /&gt;    &amp;#43; CategoryInfo          &amp;#58; NotSpecified&amp;#58; &amp;#40;&amp;#58;&amp;#41; &amp;#91;&amp;#93;, MethodInvocationException&lt;br /&gt;    &amp;#43; FullyQualifiedErrorId &amp;#58; DotNetMethodException&lt;br /&gt;&lt;br /&gt;You cannot call a method on a null-valued expression.&lt;br /&gt;At C&amp;#58;&amp;#92;Users&amp;#92;dchung&amp;#92;Documents&amp;#92;WindowsPowerShell&amp;#92;Modules&amp;#92;PowerDbg&amp;#92;PowerDbg.psm1&amp;#58;238 char&amp;#58;23&lt;br /&gt;&amp;#43;     while&amp;#40;&amp;#36;reader.Peek &amp;#60;&amp;#60;&amp;#60;&amp;#60; &amp;#40;&amp;#41; -ge 0&amp;#41;&amp;#123; &amp;#35; -1 indicates no chars to be read&lt;br /&gt;    &amp;#43; CategoryInfo          &amp;#58; InvalidOperation&amp;#58; &amp;#40;Peek&amp;#58;String&amp;#41; &amp;#91;&amp;#93;, RuntimeException&lt;br /&gt;    &amp;#43; FullyQualifiedErrorId &amp;#58; InvokeMethodOnNull&lt;br /&gt;&lt;br /&gt;Create a PowerDbg session using Connect-Dbg first&lt;br /&gt;At C&amp;#58;&amp;#92;Users&amp;#92;dchung&amp;#92;Documents&amp;#92;WindowsPowerShell&amp;#92;Modules&amp;#92;PowerDbg&amp;#92;PowerDbg.psm1&amp;#58;269 char&amp;#58;14&lt;br /&gt;&amp;#43;         throw &amp;#60;&amp;#60;&amp;#60;&amp;#60;  &amp;#39;Create a PowerDbg session using Connect-Dbg first&amp;#39;&amp;#59;&lt;br /&gt;    &amp;#43; CategoryInfo          &amp;#58; OperationStopped&amp;#58; &amp;#40;Create a PowerD...nnect-Dbg first&amp;#58;String&amp;#41; &amp;#91;&amp;#93;, RuntimeException&lt;br /&gt;    &amp;#43; FullyQualifiedErrorId &amp;#58; Create a PowerDbg session using Connect-Dbg first&lt;br /&gt;&lt;br /&gt;Is there anyone successfully created a dump debug session&amp;#63;&lt;br /&gt;&lt;br /&gt;thanks in advance&lt;br /&gt;Comments: ** Comment from web user: geopgin ** &lt;p&gt;I&amp;#39;m seing the exact same thing. Are you using the windows 8 toolkit&amp;#63; Did you find a resolution for this issue&amp;#63;&lt;/p&gt;</description><author>geopgin</author><pubDate>Thu, 07 Jun 2012 14:37:26 GMT</pubDate><guid isPermaLink="false">Commented Issue: New-DbgSession with -dump option failed. [32553] 20120607023726P</guid></item><item><title>Created Issue: New-DbgSession with -dump option failed. [32553]</title><link>http://powerdbg.codeplex.com/workitem/32553</link><description>Very new to PowerDbg...&lt;br /&gt;&lt;br /&gt;When I try creating a new debug session as following,&lt;br /&gt;PS C&amp;#58;&amp;#92;&amp;#62; New-DbgSession -dump C&amp;#58;&amp;#92;temp&amp;#92;DUMP417d.dmp&lt;br /&gt;&lt;br /&gt;this attemp throwed an exception as below.&lt;br /&gt;&lt;br /&gt;Exception calling &amp;#34;Start&amp;#34; with &amp;#34;1&amp;#34; argument&amp;#40;s&amp;#41;&amp;#58; &amp;#34;The system cannot find the file specified&amp;#34;&lt;br /&gt;At C&amp;#58;&amp;#92;Users&amp;#92;dchung&amp;#92;Documents&amp;#92;WindowsPowerShell&amp;#92;Modules&amp;#92;PowerDbg&amp;#92;PowerDbg.psm1&amp;#58;540 char&amp;#58;40&lt;br /&gt;&amp;#43;     &amp;#91;System.Diagnostics.Process&amp;#93;&amp;#58;&amp;#58;Start &amp;#60;&amp;#60;&amp;#60;&amp;#60; &amp;#40;&amp;#36;startInfo&amp;#41; &amp;#35; nb&amp;#58; returns process handle as function return&lt;br /&gt;    &amp;#43; CategoryInfo          &amp;#58; NotSpecified&amp;#58; &amp;#40;&amp;#58;&amp;#41; &amp;#91;&amp;#93;, MethodInvocationException&lt;br /&gt;    &amp;#43; FullyQualifiedErrorId &amp;#58; DotNetMethodException&lt;br /&gt;&lt;br /&gt;You cannot call a method on a null-valued expression.&lt;br /&gt;At C&amp;#58;&amp;#92;Users&amp;#92;dchung&amp;#92;Documents&amp;#92;WindowsPowerShell&amp;#92;Modules&amp;#92;PowerDbg&amp;#92;PowerDbg.psm1&amp;#58;238 char&amp;#58;23&lt;br /&gt;&amp;#43;     while&amp;#40;&amp;#36;reader.Peek &amp;#60;&amp;#60;&amp;#60;&amp;#60; &amp;#40;&amp;#41; -ge 0&amp;#41;&amp;#123; &amp;#35; -1 indicates no chars to be read&lt;br /&gt;    &amp;#43; CategoryInfo          &amp;#58; InvalidOperation&amp;#58; &amp;#40;Peek&amp;#58;String&amp;#41; &amp;#91;&amp;#93;, RuntimeException&lt;br /&gt;    &amp;#43; FullyQualifiedErrorId &amp;#58; InvokeMethodOnNull&lt;br /&gt;&lt;br /&gt;Create a PowerDbg session using Connect-Dbg first&lt;br /&gt;At C&amp;#58;&amp;#92;Users&amp;#92;dchung&amp;#92;Documents&amp;#92;WindowsPowerShell&amp;#92;Modules&amp;#92;PowerDbg&amp;#92;PowerDbg.psm1&amp;#58;269 char&amp;#58;14&lt;br /&gt;&amp;#43;         throw &amp;#60;&amp;#60;&amp;#60;&amp;#60;  &amp;#39;Create a PowerDbg session using Connect-Dbg first&amp;#39;&amp;#59;&lt;br /&gt;    &amp;#43; CategoryInfo          &amp;#58; OperationStopped&amp;#58; &amp;#40;Create a PowerD...nnect-Dbg first&amp;#58;String&amp;#41; &amp;#91;&amp;#93;, RuntimeException&lt;br /&gt;    &amp;#43; FullyQualifiedErrorId &amp;#58; Create a PowerDbg session using Connect-Dbg first&lt;br /&gt;&lt;br /&gt;Is there anyone successfully created a dump debug session&amp;#63;&lt;br /&gt;&lt;br /&gt;thanks in advance&lt;br /&gt;</description><author>jivy210</author><pubDate>Wed, 11 Apr 2012 18:45:05 GMT</pubDate><guid isPermaLink="false">Created Issue: New-DbgSession with -dump option failed. [32553] 20120411064505P</guid></item><item><title>Created Issue: Get-DbgObject fails on a "Socket" [32303]</title><link>http://powerdbg.codeplex.com/workitem/32303</link><description>Example output from &amp;#39;dumpobj -raw&amp;#39;&amp;#58;&lt;br /&gt;&lt;br /&gt;Address&amp;#58; 0000000003aafc70&lt;br /&gt;Name&amp;#58; System.Net.Sockets.Socket&lt;br /&gt;MethodTable&amp;#58; 0000064281182c00&lt;br /&gt;EEClass&amp;#58; 0000064281166930&lt;br /&gt;Size&amp;#58; 120&amp;#40;0x78&amp;#41; bytes&lt;br /&gt; &amp;#40;C&amp;#58;&amp;#92;WINDOWS&amp;#92;assembly&amp;#92;GAC_MSIL&amp;#92;System&amp;#92;2.0.0.0__b77a5c561934e089&amp;#92;System.dll&amp;#41;&lt;br /&gt;Fields&amp;#58;&lt;br /&gt;              MT    Field   Offset                 Type VT     Attr            Value Name&lt;br /&gt;0000064278435ed8  40029ef        8        System.Object  0 instance 0000000000000000 m_AcceptQueueOrConnectResult&lt;br /&gt;00000642811854a0  40029f0       10 ...t.SafeCloseSocket  0 instance 0000000003aafd08 m_Handle&lt;br /&gt;000006428112e938  40029f1       18  System.Net.EndPoint  0 instance 0000000003a58ec0 m_RightEndPoint&lt;br /&gt;000006428112e938  40029f2       20  System.Net.EndPoint  0 instance 0000000003d00e68 m_RemoteEndPoint&lt;br /&gt;00000642784357b8  40029f3       68       System.Boolean  1 instance                1 m_IsConnected&lt;br /&gt;00000642784357b8  40029f4       69       System.Boolean  1 instance                0 m_IsDisconnected&lt;br /&gt;00000642784357b8  40029f5       6a       System.Boolean  1 instance                1 willBlock&lt;br /&gt;00000642784357b8  40029f6       6b       System.Boolean  1 instance                1 willBlockInternal&lt;br /&gt;00000642784357b8  40029f7       6c       System.Boolean  1 instance                0 isListening&lt;br /&gt;...&lt;br /&gt;000006428118bc78  40029fd       30 ...s.Socket&amp;#43;CacheSet  0 instance 0000000003d00ee8 m_Caches&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;Current &amp;#36;dumpobjRegex &amp;#40;build 6.10.10.22&amp;#41; doesn&amp;#39;t like that &amp;#34;Socket&amp;#43;CacheSet&amp;#34; above and throws a &amp;#34;Regex failing on &amp;#39;&amp;#36;line&amp;#39;&amp;#34; exception. &lt;br /&gt;&lt;br /&gt;I&amp;#39;ve changed line 1446&amp;#58;&lt;br /&gt;  &amp;#92;s&amp;#43;&amp;#40;&amp;#63;&amp;#60;Type&amp;#62;&amp;#91; &amp;#92;.&amp;#92;w,-_&amp;#92;&amp;#91;&amp;#92;&amp;#93;&amp;#92;&amp;#96;&amp;#93;&amp;#123;0,24&amp;#125;&amp;#41;&amp;#63; &amp;#35; Type is 20 chars, 4 extra w&amp;#47;sp in .net 4, optional&lt;br /&gt;into&amp;#58;&lt;br /&gt;  &amp;#92;s&amp;#43;&amp;#40;&amp;#63;&amp;#60;Type&amp;#62;&amp;#91; &amp;#92;.&amp;#92;w&amp;#43;,-_&amp;#92;&amp;#91;&amp;#92;&amp;#93;&amp;#92;&amp;#96;&amp;#93;&amp;#123;0,24&amp;#125;&amp;#41;&amp;#63; &amp;#35; Type is 20 chars, 4 extra w&amp;#47;sp in .net 4, optional&lt;br /&gt;and it seems, like that helped.&lt;br /&gt;</description><author>pjank</author><pubDate>Thu, 23 Feb 2012 11:39:10 GMT</pubDate><guid isPermaLink="false">Created Issue: Get-DbgObject fails on a "Socket" [32303] 20120223113910A</guid></item><item><title>Created Issue: Add Support for Process ID on Running Processes [32259]</title><link>http://powerdbg.codeplex.com/workitem/32259</link><description>I work in an area that still has alot of COM applications, which means many instances of dllhost.exe.  This module would be extremely useful in a current effort, but can&amp;#39;t be used because windbg won&amp;#39;t accept -pn dllhost.exe when there are multiple occurrences of the process.  It would be nice to have PID support similar to what adplus.vbs provides.&lt;br /&gt;</description><author>JStinebaugh</author><pubDate>Tue, 14 Feb 2012 20:00:53 GMT</pubDate><guid isPermaLink="false">Created Issue: Add Support for Process ID on Running Processes [32259] 20120214080053P</guid></item><item><title>Created Issue: Get-DbgArray ignores -start and -length parameters unless -details [31707]</title><link>http://powerdbg.codeplex.com/workitem/31707</link><description>This seems a bug to me, as I may be interested in getting just the MT&amp;#39;s and addresses of a subset of array elements, without getting their details.&lt;br /&gt;&lt;br /&gt;The code for Get-DbgArray only adds &amp;#34;-start&amp;#34; and &amp;#34;-length&amp;#34; in the &amp;#34;elseif &amp;#40;&amp;#36;details&amp;#41;&amp;#34; branch - I think it should be in all three branches.&lt;br /&gt;</description><author>jkff</author><pubDate>Tue, 08 Nov 2011 11:43:40 GMT</pubDate><guid isPermaLink="false">Created Issue: Get-DbgArray ignores -start and -length parameters unless -details [31707] 20111108114340A</guid></item><item><title>Created Issue: Parse-DumpHeap should use an ArrayList after all - unusably slow otherwise [31705]</title><link>http://powerdbg.codeplex.com/workitem/31705</link><description>I&amp;#39;m using PowerDbg to debug a huge and complicated memory leak, and dumpheap takes an eternity &amp;#40;didn&amp;#39;t finish in several minutes&amp;#41; to parse an array of 35000 objects from raw windbg output.&lt;br /&gt;&lt;br /&gt;When I re-introduced usage of ArrayList in the code, things finished rather quickly &amp;#40;perhaps a minute&amp;#41; and I didn&amp;#39;t see anything work wrong, despite the comment in code that usage ArrayList drops NoteProperty&amp;#39;s.&lt;br /&gt;&lt;br /&gt;Also, I found this post, which may be of help&amp;#58; http&amp;#58;&amp;#47;&amp;#47;powershell.com&amp;#47;cs&amp;#47;forums&amp;#47;p&amp;#47;5507&amp;#47;8890.aspx&lt;br /&gt;</description><author>jkff</author><pubDate>Tue, 08 Nov 2011 10:54:31 GMT</pubDate><guid isPermaLink="false">Created Issue: Parse-DumpHeap should use an ArrayList after all - unusably slow otherwise [31705] 20111108105431A</guid></item><item><title>Created Issue: Install.bat does not succeed in XP [31643]</title><link>http://powerdbg.codeplex.com/workitem/31643</link><description>It is attempting to access &amp;#37;USERPROFILE&amp;#37;&amp;#92;Documents rather than &amp;#34;&amp;#37;USERPROFILE&amp;#37;&amp;#92;My Documents&amp;#34; in Windows XP&lt;br /&gt;</description><author>JoeChakra</author><pubDate>Thu, 27 Oct 2011 05:53:34 GMT</pubDate><guid isPermaLink="false">Created Issue: Install.bat does not succeed in XP [31643] 20111027055334A</guid></item></channel></rss>