<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-1812985003737084262.post2268562097001961683..comments</id><updated>2009-03-16T20:17:44.204-04:00</updated><category term='Rx'/><category term='C++'/><category term='Visual Studio'/><category term='LPC'/><category term='Assembly'/><category term='64-bit'/><category term='GDB'/><category term='WCF'/><category term='WinDBG tips'/><category term='PLINQ'/><category term='WinDBG'/><category term='ETW'/><category term='MSIL'/><category term='Kernel'/><category term='Exceptions'/><category term='Java'/><category term='Miscellanous'/><title type='text'>Comments on Bing Xia's Blog: Alias evaluation in WinDBG script</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.bytetalk.net/feeds/2268562097001961683/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1812985003737084262/2268562097001961683/comments/default'/><link rel='alternate' type='text/html' href='http://www.bytetalk.net/2009/02/alias-evaluation-in-windbg-script.html'/><author><name>bxia</name><uri>http://www.blogger.com/profile/13262666423559414651</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1812985003737084262.post-4227709742698475837</id><published>2009-03-16T20:17:00.000-04:00</published><updated>2009-03-16T20:17:00.000-04:00</updated><title type='text'>Here is another script, which could be used to sea...</title><content type='html'>Here is another script, which could be used to search a specified string from the stack traces of all threads in a process.&lt;BR/&gt;&lt;BR/&gt;aS ThreadStack &amp;quot;~*e r? $t1=((ntdll!_NT_TIB *)@$teb)-&amp;gt;StackLimit; r? $t2=((ntdll!_NT_TIB *)@$teb)-&amp;gt;StackBase; dps @$t1 @$t2&amp;quot;;&lt;BR/&gt;.block {.shell -i - -ci &amp;quot;${ThreadStack}&amp;quot; FIND /C &amp;quot;${$arg1}&amp;quot;}&lt;BR/&gt;&lt;BR/&gt;Please note the line &amp;quot;.block {.shell -i - -ci &amp;quot;${ThreadStack}&amp;quot; FIND /C &amp;quot;${$arg1}&amp;quot;}&amp;quot; must be on a single line, otherwise, the error message &amp;quot;FIND: Parameter format not correct&amp;quot; would return.&lt;BR/&gt;&lt;BR/&gt;Sometimes, it is kind of tricky to set an alias right. At that time, al (List Alias) command could be used to check whether the alias is set correct.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1812985003737084262/2268562097001961683/comments/default/4227709742698475837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1812985003737084262/2268562097001961683/comments/default/4227709742698475837'/><link rel='alternate' type='text/html' href='http://www.bytetalk.net/2009/02/alias-evaluation-in-windbg-script.html?showComment=1237249020000#c4227709742698475837' title=''/><author><name>bxia</name><uri>http://www.blogger.com/profile/13262666423559414651</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.bytetalk.net/2009/02/alias-evaluation-in-windbg-script.html' ref='tag:blogger.com,1999:blog-1812985003737084262.post-2268562097001961683' source='http://www.blogger.com/feeds/1812985003737084262/posts/default/2268562097001961683' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1332317476'/></entry></feed>
