<?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-8523036122534835113.post4816797448612413239..comments</id><updated>2010-05-09T13:05:49.428+07:00</updated><category term='announcement'/><category term='yoursway'/><category term='crashkit'/><category term='tip'/><title type='text'>Comments on YourSway: 3 painful ways to obtain a stack trace in JavaScri...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.yoursway.com/feeds/4816797448612413239/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8523036122534835113/4816797448612413239/comments/default'/><link rel='alternate' type='text/html' href='http://blog.yoursway.com/2009/07/3-painful-ways-to-obtain-stack-trace-in.html'/><author><name>Andrey Tarantsov</name><uri>http://www.blogger.com/profile/14705911318584620422</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='32' height='31' src='http://bp0.blogger.com/_xr3GCEon_M0/SD8FcxJQtuI/AAAAAAAAAjY/dNoyddsfxOY/S220/andreyvit-big.jpg'/></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-8523036122534835113.post-5356198719983811331</id><published>2010-05-09T13:05:49.423+07:00</published><updated>2010-05-09T13:05:49.423+07:00</updated><title type='text'>Unfortunately the version that I found to &amp;quot;do...</title><content type='html'>Unfortunately the version that I found to &amp;quot;do it&amp;quot; is just to place the &amp;quot;try-catch&amp;quot; clauses to EVERY method and then assemble the stack trace from Globally Unique ID-s (GUID-s). Then, I also wrote 2 scripts for the KomodoIDE:&lt;br /&gt;&lt;br /&gt;One is &amp;quot;UpGUID&amp;quot;, which replaces GUIDs within the selected text region in the KomodoIDE. I write code in NetBeans, because it has a better Vim emulation than the KomodoIDE and the NetBeans has really fine code template system, so I don&amp;#39;t have to write all the try-catch-with-a-constant-GUID by myself. However, the KomodoIDE has an easier way to integrate my own weird tools, so I use the 2 in parallel.&lt;br /&gt;&lt;br /&gt;The other tool that I wrote as a KomodoIDE &amp;quot;toolbox item&amp;quot;, reads in the custom-generated stackt-trace and allows me to move up and down within that stack trace in a way that with every movement, the code region, from where the exception has been thrown, is opened and displayed in the KomodoIDE code editor. As the GUID-s are unique, it&amp;#39;s possible to grep the place out and displaying the text region in the IDE was just a matter of scripting.&lt;br /&gt;&lt;br /&gt;I found out that that sort of stack-trace navigation by instantly displaying the code region, from where the exception got thrown, really boosted my productivity.&lt;br /&gt;&lt;br /&gt;I haven&amp;#39;t uploaded the script collections to anywhere, because they&amp;#39;re a bit of a mess, but they work and if You want, then I can send them to You. They&amp;#39;re a mixture of Ruby, Bash and JavaScript. The KomodoIDE is manipulated by using JavaScript.&lt;br /&gt;&lt;br /&gt;I also wrote a little about it in my blog: http://mv-veebilog.blogspot.com/2009/08/about-javascript-line-and-this.html</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8523036122534835113/4816797448612413239/comments/default/5356198719983811331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8523036122534835113/4816797448612413239/comments/default/5356198719983811331'/><link rel='alternate' type='text/html' href='http://blog.yoursway.com/2009/07/3-painful-ways-to-obtain-stack-trace-in.html?showComment=1273385149423#c5356198719983811331' title=''/><author><name>Martin Vahi</name><uri>http://www.blogger.com/profile/12072649570880032285</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://blog.yoursway.com/2009/07/3-painful-ways-to-obtain-stack-trace-in.html' ref='tag:blogger.com,1999:blog-8523036122534835113.post-4816797448612413239' source='http://www.blogger.com/feeds/8523036122534835113/posts/default/4816797448612413239' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-380121492'/></entry></feed>
