<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/1.5.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: How To Disable &#8220;A first chance exception of type&#8230;&#8221; Messages in VS 2005</title>
	<link>http://www.helixoft.com/blog/archives/24</link>
	<description>Peter Macej - lead developer of VSdocman - talks about Visual Studio tips and automation</description>
	<pubDate>Fri, 25 Jul 2008 23:44:25 +0000</pubDate>
	<generator>http://wordpress.org/?v=1.5.2</generator>

	<item>
 		<title>Comment on How To Disable &#8220;A first chance exception of type&#8230;&#8221; Messages in VS 2005 by: John Welsky</title>
		<link>http://www.helixoft.com/blog/archives/24#comment-95</link>
		<pubDate>Mon, 07 Jul 2008 09:52:49 +0000</pubDate>
		<guid>http://www.helixoft.com/blog/archives/24#comment-95</guid>
					<description>No way boy, i think nobody here can able to answer your question.....

Try any another forum....</description>
		<content:encoded><![CDATA[	<p>No way boy, i think nobody here can able to answer your question&#8230;..</p>
	<p>Try any another forum&#8230;.
</p>
]]></content:encoded>
				</item>
	<item>
 		<title>Comment on How To Disable &#8220;A first chance exception of type&#8230;&#8221; Messages in VS 2005 by: VikramG</title>
		<link>http://www.helixoft.com/blog/archives/24#comment-94</link>
		<pubDate>Mon, 07 Jul 2008 09:48:07 +0000</pubDate>
		<guid>http://www.helixoft.com/blog/archives/24#comment-94</guid>
					<description>Hi Friends, Am developing a driver and what i need is to share a block of memory like 16MB between my kernel driver and User applications…..
My SDMA will write into that memory block directly and my applications will just read that data and diagnose it.
Am using AllocPhysMem() API in my kernel driver but at the time while am running my application which calls my driver, an exception like “First-chance exception K.COREDLL.DLL….0xC0000005 ” is appearing.

I dont know what to do…I even googled for many hours but unable to figure it out….
Please, please, anybody please help me…..

“The exeption is appearing exactly at point when AllocPhysMem API is called” 

Any reply is appreciated</description>
		<content:encoded><![CDATA[	<p>Hi Friends, Am developing a driver and what i need is to share a block of memory like 16MB between my kernel driver and User applications…..<br />
My SDMA will write into that memory block directly and my applications will just read that data and diagnose it.<br />
Am using AllocPhysMem() API in my kernel driver but at the time while am running my application which calls my driver, an exception like “First-chance exception K.COREDLL.DLL….0xC0000005 ” is appearing.</p>
	<p>I dont know what to do…I even googled for many hours but unable to figure it out….<br />
Please, please, anybody please help me…..</p>
	<p>“The exeption is appearing exactly at point when AllocPhysMem API is called” </p>
	<p>Any reply is appreciated
</p>
]]></content:encoded>
				</item>
	<item>
 		<title>Comment on How To Disable &#8220;A first chance exception of type&#8230;&#8221; Messages in VS 2005 by: VikramG</title>
		<link>http://www.helixoft.com/blog/archives/24#comment-92</link>
		<pubDate>Mon, 07 Jul 2008 09:39:14 +0000</pubDate>
		<guid>http://www.helixoft.com/blog/archives/24#comment-92</guid>
					<description>Hello...Great Job Man.......  : )</description>
		<content:encoded><![CDATA[	<p>Hello&#8230;Great Job Man&#8230;&#8230;.  : )
</p>
]]></content:encoded>
				</item>
	<item>
 		<title>Comment on How To Disable &#8220;A first chance exception of type&#8230;&#8221; Messages in VS 2005 by: Mario</title>
		<link>http://www.helixoft.com/blog/archives/24#comment-91</link>
		<pubDate>Sun, 22 Jun 2008 21:07:50 +0000</pubDate>
		<guid>http://www.helixoft.com/blog/archives/24#comment-91</guid>
					<description>Holy Hannah! This is a great tip! I only wish I wasn't so lazy for so long to look for a solution that you had posted for so long! Thank you so much!</description>
		<content:encoded><![CDATA[	<p>Holy Hannah! This is a great tip! I only wish I wasn&#8217;t so lazy for so long to look for a solution that you had posted for so long! Thank you so much!
</p>
]]></content:encoded>
				</item>
	<item>
 		<title>Comment on How To Disable &#8220;A first chance exception of type&#8230;&#8221; Messages in VS 2005 by: Don</title>
		<link>http://www.helixoft.com/blog/archives/24#comment-77</link>
		<pubDate>Tue, 05 Feb 2008 17:17:47 +0000</pubDate>
		<guid>http://www.helixoft.com/blog/archives/24#comment-77</guid>
					<description>Thank you for this tip! I've had this &quot;A first chance exception of type 'System.Net.Sockets.SocketException' occurred in System.dll&quot; trash obscuring my output window for far too long (making it almost impossible to find the output I really care about).

Too bad VS doesn't provide a more useful filter. As mkmcgregor points out you have to do an ALL or NOTHING filter on exceptions in the output window, but you can still set the Debug:Exceptions to break your code in the debugger for the ones you care about, and ignroe the rest.

Thanks again!</description>
		<content:encoded><![CDATA[	<p>Thank you for this tip! I&#8217;ve had this &#8220;A first chance exception of type &#8216;System.Net.Sockets.SocketException&#8217; occurred in System.dll&#8221; trash obscuring my output window for far too long (making it almost impossible to find the output I really care about).</p>
	<p>Too bad VS doesn&#8217;t provide a more useful filter. As mkmcgregor points out you have to do an ALL or NOTHING filter on exceptions in the output window, but you can still set the Debug:Exceptions to break your code in the debugger for the ones you care about, and ignroe the rest.</p>
	<p>Thanks again!
</p>
]]></content:encoded>
				</item>
	<item>
 		<title>Comment on How To Disable &#8220;A first chance exception of type&#8230;&#8221; Messages in VS 2005 by: mkmcgregor</title>
		<link>http://www.helixoft.com/blog/archives/24#comment-67</link>
		<pubDate>Thu, 09 Aug 2007 19:32:32 +0000</pubDate>
		<guid>http://www.helixoft.com/blog/archives/24#comment-67</guid>
					<description>This is a good thought, however that also eliminates ALL other exceptions that really do matter. To many people hided errors by putting a generic catch that does nothing. Also, this would hide useful exceptions like trying to update a control while in a thread; an all too common problem in managed code. Atleast VS2005 warns you with the exception, but not if you prevent exceptions from being displayed.</description>
		<content:encoded><![CDATA[	<p>This is a good thought, however that also eliminates ALL other exceptions that really do matter. To many people hided errors by putting a generic catch that does nothing. Also, this would hide useful exceptions like trying to update a control while in a thread; an all too common problem in managed code. Atleast VS2005 warns you with the exception, but not if you prevent exceptions from being displayed.
</p>
]]></content:encoded>
				</item>
	<item>
 		<title>Comment on How To Disable &#8220;A first chance exception of type&#8230;&#8221; Messages in VS 2005 by: Sha Mirza</title>
		<link>http://www.helixoft.com/blog/archives/24#comment-64</link>
		<pubDate>Tue, 17 Jul 2007 08:57:10 +0000</pubDate>
		<guid>http://www.helixoft.com/blog/archives/24#comment-64</guid>
					<description>******************  Excellent! great Job Master!!!!!!!!!!!!!!!!!! my 3 cheers :) :) :)</description>
		<content:encoded><![CDATA[	<p>******************  Excellent! great Job Master!!!!!!!!!!!!!!!!!! my 3 cheers <img src='http://www.helixoft.com/blog/wp-images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  <img src='http://www.helixoft.com/blog/wp-images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  <img src='http://www.helixoft.com/blog/wp-images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
</p>
]]></content:encoded>
				</item>
	<item>
 		<title>Comment on How To Disable &#8220;A first chance exception of type&#8230;&#8221; Messages in VS 2005 by: Marco</title>
		<link>http://www.helixoft.com/blog/archives/24#comment-61</link>
		<pubDate>Sat, 26 May 2007 14:50:39 +0000</pubDate>
		<guid>http://www.helixoft.com/blog/archives/24#comment-61</guid>
					<description>If you only knew how often I googled this to find the answer.  I dupplicated your answer with a variation on your title on my blog. Maybe other people find it as well. 

Thanks!</description>
		<content:encoded><![CDATA[	<p>If you only knew how often I googled this to find the answer.  I dupplicated your answer with a variation on your title on my blog. Maybe other people find it as well. </p>
	<p>Thanks!
</p>
]]></content:encoded>
				</item>
	<item>
 		<title>Comment on How To Disable &#8220;A first chance exception of type&#8230;&#8221; Messages in VS 2005 by: Peter Macej</title>
		<link>http://www.helixoft.com/blog/archives/24#comment-58</link>
		<pubDate>Fri, 04 May 2007 11:13:43 +0000</pubDate>
		<guid>http://www.helixoft.com/blog/archives/24#comment-58</guid>
					<description>To Aaron Lenoir:
&amp;#62; /// If this happens this exception is thrown

Yes, that's what  &amp;#60;exception&amp;#62; tag in XML comment is for. But the point was, how do you know, which &amp;#60;exception&amp;#62; tags you should add to your method? What if your method calls 20 other methods, where each of them throws say 3 exceptions? If you don't catch those exceptions, they will bubble to your method's caller. So you need to find MSDN documentation for each method you are using to see which exceptions they throw. Then you need to add all those exceptions in your XML comment. This is not very convenient.

As mentioned, Java compiler doesn't allow this. It will force you to either catch every possible exception or explicitly define which exceptions your method will bubble.</description>
		<content:encoded><![CDATA[	<p>To Aaron Lenoir:<br />
&gt; /// If this happens this exception is thrown</p>
	<p>Yes, that&#8217;s what  &lt;exception&gt; tag in XML comment is for. But the point was, how do you know, which &lt;exception&gt; tags you should add to your method? What if your method calls 20 other methods, where each of them throws say 3 exceptions? If you don&#8217;t catch those exceptions, they will bubble to your method&#8217;s caller. So you need to find MSDN documentation for each method you are using to see which exceptions they throw. Then you need to add all those exceptions in your XML comment. This is not very convenient.</p>
	<p>As mentioned, Java compiler doesn&#8217;t allow this. It will force you to either catch every possible exception or explicitly define which exceptions your method will bubble.
</p>
]]></content:encoded>
				</item>
	<item>
 		<title>Comment on How To Disable &#8220;A first chance exception of type&#8230;&#8221; Messages in VS 2005 by: Aaron Lenoir</title>
		<link>http://www.helixoft.com/blog/archives/24#comment-57</link>
		<pubDate>Fri, 04 May 2007 09:58:25 +0000</pubDate>
		<guid>http://www.helixoft.com/blog/archives/24#comment-57</guid>
					<description>Actually you can just add some XML document above your methods... this will give others some indication of what your code throws:

/// 
/// This method does something
/// 
/// If this happens this exception is thrown

Gives you some information when you watch the method info trough the object browser and stuff... offcourse, this is just extra information you don't HAVE to give.</description>
		<content:encoded><![CDATA[	<p>Actually you can just add some XML document above your methods&#8230; this will give others some indication of what your code throws:</p>
	<p>///<br />
/// This method does something<br />
///<br />
/// If this happens this exception is thrown</p>
	<p>Gives you some information when you watch the method info trough the object browser and stuff&#8230; offcourse, this is just extra information you don&#8217;t HAVE to give.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
