<?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: No debugging option in Flash Debug Player	</title>
	<atom:link href="https://jessewarden.com/2004/02/no-debugging-option-in-flash-debug-player.html/feed" rel="self" type="application/rss+xml" />
	<link>https://jessewarden.com/2004/02/no-debugging-option-in-flash-debug-player.html</link>
	<description>Software &#124; Fitness &#124; Gaming</description>
	<lastBuildDate>Thu, 05 Feb 2004 11:25:40 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: John Bicknell		</title>
		<link>https://jessewarden.com/2004/02/no-debugging-option-in-flash-debug-player.html/comment-page-1#comment-1336</link>

		<dc:creator><![CDATA[John Bicknell]]></dc:creator>
		<pubDate>Thu, 05 Feb 2004 11:25:40 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=428#comment-1336</guid>

					<description><![CDATA[I found this on the Flashcoders Wiki, which is a neat way around the problem, one of those &#039;why didn&#039;t I think of that?&#039; things. &#062;&#062;&#062;&#062;

doBreak - very useful for debugging code from .as files. Since breakpoints for .as files are not saved between executions, you have to manually set them each time you want to break inside a .as file. Instead, add: 

  function doBreak(msg)
  {
	trace(&quot;doBreak: &quot; + msg);
	return;
  }

to your first frame. (Always on a seperate Actions layer!!) Add a breakpoint at the trace statement. Then call doBreak whereever in your .as files, run in debug mode, and the program will break inside the doBreak. Then press the &quot;step out&quot; button and you&#039;re at the right place for debugging. Props to &quot;Alan Prather&quot;  for the tip. 

http://chattyfig.figleaf.com/flashcoders-wiki/index.php?Best%20Practice
]]></description>
			<content:encoded><![CDATA[<p>I found this on the Flashcoders Wiki, which is a neat way around the problem, one of those &#8216;why didn&#8217;t I think of that?&#8217; things. &gt;&gt;&gt;&gt;</p>
<p>doBreak &#8211; very useful for debugging code from .as files. Since breakpoints for .as files are not saved between executions, you have to manually set them each time you want to break inside a .as file. Instead, add: </p>
<p>  function doBreak(msg)<br />
  {<br />
	trace(&#8220;doBreak: &#8221; + msg);<br />
	return;<br />
  }</p>
<p>to your first frame. (Always on a seperate Actions layer!!) Add a breakpoint at the trace statement. Then call doBreak whereever in your .as files, run in debug mode, and the program will break inside the doBreak. Then press the &#8220;step out&#8221; button and you&#8217;re at the right place for debugging. Props to &#8220;Alan Prather&#8221;  for the tip. </p>
<p><a href="http://chattyfig.figleaf.com/flashcoders-wiki/index.php?Best%20Practice" rel="nofollow ugc">http://chattyfig.figleaf.com/flashcoders-wiki/index.php?Best%20Practice</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: JesterXL		</title>
		<link>https://jessewarden.com/2004/02/no-debugging-option-in-flash-debug-player.html/comment-page-1#comment-1335</link>

		<dc:creator><![CDATA[JesterXL]]></dc:creator>
		<pubDate>Thu, 05 Feb 2004 01:47:25 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=428#comment-1335</guid>

					<description><![CDATA[&quot;I&#039;m not even supposed to BE HERE today...!&quot;

Same here.

Um... one thing to try:

...fuggit, I&#039;ll test:

Hrm.  I put some code on _root, and then compared that with an SWD that had a breakpoint.  The SWD&#039;s are different, but they are all that weird programmer shite in Notepad.

Hrm... sorry bro, don&#039;t know.]]></description>
			<content:encoded><![CDATA[<p>&#8220;I&#8217;m not even supposed to BE HERE today&#8230;!&#8221;</p>
<p>Same here.</p>
<p>Um&#8230; one thing to try:</p>
<p>&#8230;fuggit, I&#8217;ll test:</p>
<p>Hrm.  I put some code on _root, and then compared that with an SWD that had a breakpoint.  The SWD&#8217;s are different, but they are all that weird programmer shite in Notepad.</p>
<p>Hrm&#8230; sorry bro, don&#8217;t know.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Kenny Bunch		</title>
		<link>https://jessewarden.com/2004/02/no-debugging-option-in-flash-debug-player.html/comment-page-1#comment-1334</link>

		<dc:creator><![CDATA[Kenny Bunch]]></dc:creator>
		<pubDate>Thu, 05 Feb 2004 01:43:39 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=428#comment-1334</guid>

					<description><![CDATA[Jesse,

Yea I knew about that way, but the issue there is I may have over a 100 classes for one project, I&#039;d rather not have to go in and set it everytime. I&#039;d like to save that type of setting or just place it in a file. Placing the debug statement in the file itself is a little sketchy because then altering breakpoints becomes a pain. But implementing it everytime is a pain. It would be nice to have a debug file. Again..I may b missing something.. my eyes are blurred and my brain is confused at this point in the day.]]></description>
			<content:encoded><![CDATA[<p>Jesse,</p>
<p>Yea I knew about that way, but the issue there is I may have over a 100 classes for one project, I&#8217;d rather not have to go in and set it everytime. I&#8217;d like to save that type of setting or just place it in a file. Placing the debug statement in the file itself is a little sketchy because then altering breakpoints becomes a pain. But implementing it everytime is a pain. It would be nice to have a debug file. Again..I may b missing something.. my eyes are blurred and my brain is confused at this point in the day.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: JesterXL		</title>
		<link>https://jessewarden.com/2004/02/no-debugging-option-in-flash-debug-player.html/comment-page-1#comment-1333</link>

		<dc:creator><![CDATA[JesterXL]]></dc:creator>
		<pubDate>Thu, 05 Feb 2004 01:34:54 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=428#comment-1333</guid>

					<description><![CDATA[The thing that ticked me off about the above was this was right when 2004 came it... it had worked in MX forever and I never knew about it....]]></description>
			<content:encoded><![CDATA[<p>The thing that ticked me off about the above was this was right when 2004 came it&#8230; it had worked in MX forever and I never knew about it&#8230;.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: JesterXL		</title>
		<link>https://jessewarden.com/2004/02/no-debugging-option-in-flash-debug-player.html/comment-page-1#comment-1332</link>

		<dc:creator><![CDATA[JesterXL]]></dc:creator>
		<pubDate>Thu, 05 Feb 2004 01:34:29 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=428#comment-1332</guid>

					<description><![CDATA[Your gonna hit yourself.  Some-frikin-how my manager found this.

When you first run the debugger, you know that message that says set breakpoints?  Well... do it.  I always ignored it, but actually, that dropdown/combobox actually contains all of your external code as well.

Before you hit the play button, go into your code, and set a breakpoint.  It may be tough to find it if your using a lot of includes/imports, but she&#039;s in there.  Then hit play.

That way, if your using external code (better if your in 2004), you can debug your code with breakpoints.

In the case that you find 2 copies of your code, try the first; if you cannot set a breakpoint, then try the second.  One will work and one won&#039;t; happens everytime.

Also, if you see another prompt, don&#039;t worry, it remembered your first breakpoint; it&#039;s either just a level or shared library and it&#039;s SWD was just loaded.]]></description>
			<content:encoded><![CDATA[<p>Your gonna hit yourself.  Some-frikin-how my manager found this.</p>
<p>When you first run the debugger, you know that message that says set breakpoints?  Well&#8230; do it.  I always ignored it, but actually, that dropdown/combobox actually contains all of your external code as well.</p>
<p>Before you hit the play button, go into your code, and set a breakpoint.  It may be tough to find it if your using a lot of includes/imports, but she&#8217;s in there.  Then hit play.</p>
<p>That way, if your using external code (better if your in 2004), you can debug your code with breakpoints.</p>
<p>In the case that you find 2 copies of your code, try the first; if you cannot set a breakpoint, then try the second.  One will work and one won&#8217;t; happens everytime.</p>
<p>Also, if you see another prompt, don&#8217;t worry, it remembered your first breakpoint; it&#8217;s either just a level or shared library and it&#8217;s SWD was just loaded.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
