<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: MATLAB Basics: Using dbstop if error</title>
	<atom:link href="http://blogs.mathworks.com/videos/2008/04/28/matlab-basics-using-dbstop-if-error/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/videos/2008/04/28/matlab-basics-using-dbstop-if-error/</link>
	<description>Doug Hull is a proud MathWorker who is on a mission to help you with MATLAB.</description>
	<lastBuildDate>Fri, 10 Feb 2012 20:31:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Doug</title>
		<link>http://blogs.mathworks.com/videos/2008/04/28/matlab-basics-using-dbstop-if-error/#comment-943</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Wed, 29 Oct 2008 19:57:19 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2008/04/28/matlab-basics-using-dbstop-if-error/#comment-943</guid>
		<description>Mory,

I understand what you are looking for in an abstract way, but I am having some problems with understanding particulars.

If I am writing code, the bad code might be in *my* code, but might not manifest until a deep call, ie

sum(&#039;a&#039;, 1) %let&#039;s pretend this code caused an error in SUM

Would you want to stop?  The &#039;error&#039; is thrown by SUM which is not in your directory, so should it be skipped or not?  I personally want it to stop and then just run up the stack until I get to *my* code.

Like I said, I think there is something to this suggestion, but I am not sure what would cause a DBSTOP and what would not.

-Doug</description>
		<content:encoded><![CDATA[<p>Mory,</p>
<p>I understand what you are looking for in an abstract way, but I am having some problems with understanding particulars.</p>
<p>If I am writing code, the bad code might be in *my* code, but might not manifest until a deep call, ie</p>
<p>sum(&#8216;a&#8217;, 1) %let&#8217;s pretend this code caused an error in SUM</p>
<p>Would you want to stop?  The &#8216;error&#8217; is thrown by SUM which is not in your directory, so should it be skipped or not?  I personally want it to stop and then just run up the stack until I get to *my* code.</p>
<p>Like I said, I think there is something to this suggestion, but I am not sure what would cause a DBSTOP and what would not.</p>
<p>-Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Morrison Lucas</title>
		<link>http://blogs.mathworks.com/videos/2008/04/28/matlab-basics-using-dbstop-if-error/#comment-942</link>
		<dc:creator>Morrison Lucas</dc:creator>
		<pubDate>Tue, 28 Oct 2008 17:56:32 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2008/04/28/matlab-basics-using-dbstop-if-error/#comment-942</guid>
		<description>Hear hear!

I generally have one set of files that I&#039;m debugging, and desire the &quot;dbstop if error&quot; functionality for files in that set.  Everything else I don&#039;t want to hear about, just give me the error message and let&#039;s move on.

In terms of the interface, one possibility would be to implement the following calling convention:
    DBSTOP in MFILE if error
As well as the &quot;caught error&quot;, &quot;warning&quot; variants.

-Mory</description>
		<content:encoded><![CDATA[<p>Hear hear!</p>
<p>I generally have one set of files that I&#8217;m debugging, and desire the &#8220;dbstop if error&#8221; functionality for files in that set.  Everything else I don&#8217;t want to hear about, just give me the error message and let&#8217;s move on.</p>
<p>In terms of the interface, one possibility would be to implement the following calling convention:<br />
    DBSTOP in MFILE if error<br />
As well as the &#8220;caught error&#8221;, &#8220;warning&#8221; variants.</p>
<p>-Mory</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Hirsch</title>
		<link>http://blogs.mathworks.com/videos/2008/04/28/matlab-basics-using-dbstop-if-error/#comment-945</link>
		<dc:creator>Scott Hirsch</dc:creator>
		<pubDate>Thu, 28 Aug 2008 17:42:35 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2008/04/28/matlab-basics-using-dbstop-if-error/#comment-945</guid>
		<description>Eric -

That&#039;s a nice suggestion.  I often get frustrated when debugging GUIDE guis and ending up inside of guimainfcn.  I can&#039;t think of a direct way to handle this - there might be some games you could do with stopping based on certain error IDs, but I&#039;m not sure how far this would get you.

- scott</description>
		<content:encoded><![CDATA[<p>Eric -</p>
<p>That&#8217;s a nice suggestion.  I often get frustrated when debugging GUIDE guis and ending up inside of guimainfcn.  I can&#8217;t think of a direct way to handle this &#8211; there might be some games you could do with stopping based on certain error IDs, but I&#8217;m not sure how far this would get you.</p>
<p>- scott</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric S</title>
		<link>http://blogs.mathworks.com/videos/2008/04/28/matlab-basics-using-dbstop-if-error/#comment-944</link>
		<dc:creator>Eric S</dc:creator>
		<pubDate>Thu, 28 Aug 2008 16:37:35 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2008/04/28/matlab-basics-using-dbstop-if-error/#comment-944</guid>
		<description>It would be great to stop the debugger from coughing somewhere inside the more &quot;internal&quot; functions.
Is there a way to specify not to barf in certain directories, or in the ones you&#039;re developing in only?

Cheers,

Eric</description>
		<content:encoded><![CDATA[<p>It would be great to stop the debugger from coughing somewhere inside the more &#8220;internal&#8221; functions.<br />
Is there a way to specify not to barf in certain directories, or in the ones you&#8217;re developing in only?</p>
<p>Cheers,</p>
<p>Eric</p>
]]></content:encoded>
	</item>
</channel>
</rss>

