<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Script debugging not hitting breakpoints in Visual Studio 2005</title><link>http://blogs.msdn.com/dougste/archive/2007/03/21/script-debugging-not-hitting-breakpoints-in-visual-studio-2005.aspx</link><description>I had a curious case recently where a customer was unable to get script debugging to work in Visual Studio 2005. By not work, I mean we could set breakpoints but they were just never hit. It was like the debugger wasn't listening. In the end this was</description><dc:language>en-GB</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Script debugging not hitting breakpoints in Visual Studio 2005</title><link>http://blogs.msdn.com/dougste/archive/2007/03/21/script-debugging-not-hitting-breakpoints-in-visual-studio-2005.aspx#2049488</link><pubDate>Sun, 08 Apr 2007 09:04:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2049488</guid><dc:creator>rahulso</dc:creator><description>&lt;p&gt;To quickly check if an add-on is your problem: Right-click on the Internet Explorer 7 icon and select &amp;quot;Start without Add-ons&amp;quot;&lt;/p&gt;
&lt;p&gt;If you don't find IE 7 icon on your desktop, do the following...&lt;/p&gt;
&lt;p&gt;On Windows XP -- From the Display Properties select the Desktop Tab -- then Customize Desktop -- you'll find the Internet Explorer check-mark.&lt;/p&gt;
&lt;p&gt;On Windows Vista -- From the Appearance and Personalization section select Personalization -- in the top left corner click &amp;quot;Change Desktop Icons&amp;quot;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Rahul&lt;/p&gt;
</description></item><item><title>re: Script debugging not hitting breakpoints in Visual Studio 2005</title><link>http://blogs.msdn.com/dougste/archive/2007/03/21/script-debugging-not-hitting-breakpoints-in-visual-studio-2005.aspx#2070455</link><pubDate>Tue, 10 Apr 2007 12:48:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2070455</guid><dc:creator>dougste</dc:creator><description>&lt;p&gt;Thanks for the tip Rahul, very useful!&lt;/p&gt;
</description></item><item><title>re: Script debugging not hitting breakpoints in Visual Studio 2005</title><link>http://blogs.msdn.com/dougste/archive/2007/03/21/script-debugging-not-hitting-breakpoints-in-visual-studio-2005.aspx#9931674</link><pubDate>Wed, 02 Dec 2009 23:10:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9931674</guid><dc:creator>Fred Exley</dc:creator><description>&lt;p&gt;I had the same problem with the debugger not hitting the breakpoints, and stumbled upon this as the cause:&lt;/p&gt;
&lt;p&gt;I had recently added a script in the aspx page, which ran instead of the same event (Page_Load) in the C# code-behind. &amp;nbsp;Moving the script code to the Page_Load event in the code-behind, and then deleting this script from the aspx page fixed the problem:&lt;/p&gt;
&lt;p&gt;&amp;lt;script runat=&amp;quot;server&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;private void Page_Load(object sender, System.EventArgs e)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;if (!Page.IsPostBack)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; //sow.DataSource = &amp;quot;&lt;a rel="nofollow" target="_new" href="http://scottonwriting.net/sowblog/Rss.aspx&amp;quot;;"&gt;http://scottonwriting.net/sowblog/Rss.aspx&amp;quot;;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; sow.DataSource = &amp;quot;&lt;a rel="nofollow" target="_new" href="http://barbarasblog.gohsphere.com/post/feed/When-is-your-new-book-coming-out.aspx&amp;quot;;"&gt;http://barbarasblog.gohsphere.com/post/feed/When-is-your-new-book-coming-out.aspx&amp;quot;;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; sow.DataBind();&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;lt;/script&amp;gt;&lt;/p&gt;
</description></item></channel></rss>