<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to re-build project debug module? in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/How-to-re-build-project-debug-module/m-p/1091252#M65422</link>
    <description>&lt;P&gt;&lt;STRONG&gt;I created a vert simple new project using HTML5 + Cordove with Blank temple &amp;nbsp;in Intel XDK. And then &lt;SPAN style="font-size: 13.008px;"&gt;nuder&amp;nbsp;DEVELOP tab,&amp;nbsp;&lt;/SPAN&gt;add the &lt;SPAN style="font-size: 13.008px;"&gt;alert('Hello World!') to app.js&amp;nbsp;&lt;/SPAN&gt;as below:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;function onAppReady() {
    &lt;STRONG&gt;alert('Hello World!');&lt;/STRONG&gt;
    if( navigator.splashscreen &amp;amp;&amp;amp; navigator.splashscreen.hide ) {   // Cordova API detected
        navigator.splashscreen.hide() ;
    }
}
document.addEventListener("deviceready", onAppReady, false) ;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Switch to DEBUG tab, run Debug with USB connect to Samsung Galaxy S III.&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;'Hello World!' popup in the device without any problem.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Then switch to DEVELOP tab. &amp;nbsp;I added the second alert as below&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;function onAppReady() {
    alert('Hello World!');
    if( navigator.splashscreen &amp;amp;&amp;amp; navigator.splashscreen.hide ) {   // Cordova API detected
        navigator.splashscreen.hide() ;
    }
    &lt;STRONG&gt;&lt;EM&gt;alert('at end of onAppReady');&lt;/EM&gt;&lt;/STRONG&gt;
}
document.addEventListener("deviceready", onAppReady, false) ;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;After save the app.js, switch to &lt;SPAN style="font-size: 13.008px;"&gt;&amp;nbsp;DEBUG tab and run Debug&lt;/SPAN&gt;&amp;nbsp; again. Only&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;'Hello World!' popup.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 13.008px;"&gt;I checked app.js code in Sources sub-tab under&amp;nbsp;DEBUG tab. There is not 2nd alert&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;function onAppReady() {
    alert('Hello World!');
    if( navigator.splashscreen &amp;amp;&amp;amp; navigator.splashscreen.hide ) {   // Cordova API detected
        navigator.splashscreen.hide() ;
    }
}
document.addEventListener("deviceready", onAppReady, false) ;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;It look like the old project debug module is catched.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;How can I re-build the&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;project debug module?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Thanks for any help!&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Sep 2016 00:50:52 GMT</pubDate>
    <dc:creator>Qinghu_Z_</dc:creator>
    <dc:date>2016-09-26T00:50:52Z</dc:date>
    <item>
      <title>How to re-build project debug module?</title>
      <link>https://community.intel.com/t5/Software-Archive/How-to-re-build-project-debug-module/m-p/1091252#M65422</link>
      <description>&lt;P&gt;&lt;STRONG&gt;I created a vert simple new project using HTML5 + Cordove with Blank temple &amp;nbsp;in Intel XDK. And then &lt;SPAN style="font-size: 13.008px;"&gt;nuder&amp;nbsp;DEVELOP tab,&amp;nbsp;&lt;/SPAN&gt;add the &lt;SPAN style="font-size: 13.008px;"&gt;alert('Hello World!') to app.js&amp;nbsp;&lt;/SPAN&gt;as below:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;function onAppReady() {
    &lt;STRONG&gt;alert('Hello World!');&lt;/STRONG&gt;
    if( navigator.splashscreen &amp;amp;&amp;amp; navigator.splashscreen.hide ) {   // Cordova API detected
        navigator.splashscreen.hide() ;
    }
}
document.addEventListener("deviceready", onAppReady, false) ;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Switch to DEBUG tab, run Debug with USB connect to Samsung Galaxy S III.&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;'Hello World!' popup in the device without any problem.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Then switch to DEVELOP tab. &amp;nbsp;I added the second alert as below&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;function onAppReady() {
    alert('Hello World!');
    if( navigator.splashscreen &amp;amp;&amp;amp; navigator.splashscreen.hide ) {   // Cordova API detected
        navigator.splashscreen.hide() ;
    }
    &lt;STRONG&gt;&lt;EM&gt;alert('at end of onAppReady');&lt;/EM&gt;&lt;/STRONG&gt;
}
document.addEventListener("deviceready", onAppReady, false) ;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;After save the app.js, switch to &lt;SPAN style="font-size: 13.008px;"&gt;&amp;nbsp;DEBUG tab and run Debug&lt;/SPAN&gt;&amp;nbsp; again. Only&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;'Hello World!' popup.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 13.008px;"&gt;I checked app.js code in Sources sub-tab under&amp;nbsp;DEBUG tab. There is not 2nd alert&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;function onAppReady() {
    alert('Hello World!');
    if( navigator.splashscreen &amp;amp;&amp;amp; navigator.splashscreen.hide ) {   // Cordova API detected
        navigator.splashscreen.hide() ;
    }
}
document.addEventListener("deviceready", onAppReady, false) ;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;It look like the old project debug module is catched.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;How can I re-build the&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;project debug module?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Thanks for any help!&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2016 00:50:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-to-re-build-project-debug-module/m-p/1091252#M65422</guid>
      <dc:creator>Qinghu_Z_</dc:creator>
      <dc:date>2016-09-26T00:50:52Z</dc:date>
    </item>
    <item>
      <title>There has been an issue with</title>
      <link>https://community.intel.com/t5/Software-Archive/How-to-re-build-project-debug-module/m-p/1091253#M65423</link>
      <description>&lt;P&gt;There has been an issue with caching of files by the Debug tab, however I have not found a reliable way to fix the issue. You should only have to close the debug session and restart it (using the Debug tab toolbar). There is no need to rebuild a debug module, that is not the source of the problem.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2016 18:53:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-to-re-build-project-debug-module/m-p/1091253#M65423</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2016-09-26T18:53:50Z</dc:date>
    </item>
    <item>
      <title>Quote:Paul F. (Intel) wrote:</title>
      <link>https://community.intel.com/t5/Software-Archive/How-to-re-build-project-debug-module/m-p/1091254#M65424</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Paul F. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;There has been an issue with caching of files by the Debug tab, however I have not found a reliable way to fix the issue. You should only have to close the debug session and restart it (using the Debug tab toolbar). There is no need to rebuild a debug module, that is not the source of the problem.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;HI Paul, thanks for your reply. I found out it is the device issue. When I replaced the Samsung Galaxy 3 III with&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;&amp;nbsp;Samsung Galaxy&amp;nbsp;&lt;/SPAN&gt;s Edge, debug show the modify result.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2016 03:00:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-to-re-build-project-debug-module/m-p/1091254#M65424</guid>
      <dc:creator>Qinghu_Z_</dc:creator>
      <dc:date>2016-09-27T03:00:40Z</dc:date>
    </item>
  </channel>
</rss>

