<?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 Automated Debugging - Workspace seems to be different than the one given. in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Automated-Debugging-Workspace-seems-to-be-different-than-the-one/m-p/182208#M4218</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class="lia-quilt-column-main-right lia-quilt-column-right lia-quilt-column-20 lia-quilt-column"&gt;&lt;DIV class="lia-quilt-column-alley-right lia-quilt-column-alley"&gt;&lt;DIV class="lia-component-body lia-message-body"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im trying to run a TCL script in the debugger using CW 10.1.8. The script starts but the Multicore Launch configuration cannot be found. There is also no Project visible in the CW Projects window.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I start eclipse in the following way:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cwide.exe -data D:\Documents and Settings\foo\workspace-1.8 -vmargsplus -Dcw.script="{D:\Documents and Settings\foo\workspace-1.8\AutoBuild\runTest.tcl}"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The TCL script looks as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pwd&lt;BR /&gt;debug -name ADS_XYZ_2Cores&lt;BR /&gt;mc::group removeall&lt;BR /&gt;mc::group new MSC8156&lt;BR /&gt;mc::group enable 0.0&lt;BR /&gt;mc::group enable 0.1&lt;BR /&gt;mc::go&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The output in the IDE Debugger Window looks as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;----------------------------------------------------------------&lt;/P&gt;&lt;P&gt;CodeWarrior Debugger Shell v1.0&lt;BR /&gt;%&amp;gt;source {D:\Documents and Settings\foo\workspace-1.8\AutoBuild\runTest.tcl}&lt;BR /&gt;pwd&lt;BR /&gt;D:/Documents and Settings/foo/workspace-1.8/AutoBuild&lt;BR /&gt;cmdwin::eclipse::debug -name ADS_XYZ_2Cores&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Error: no launch configurations exist&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After starting the IDE the CodeWarrior Projects Window is empty. Normally I would expect the project to be debugged to exist in there. I can import the project into the Workspace and then the script does get further but the project starts with the wrong Build Configuration and so a Build is triggered interferring with the debugging.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm wondering now whether the workspace/configuration is different in some ways for the IDE when called from the command line.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, if there would be a way to set the Build Configuration I would be glad.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Killian&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Feb 2011 21:03:13 GMT</pubDate>
    <dc:creator>kt3072</dc:creator>
    <dc:date>2011-02-08T21:03:13Z</dc:date>
    <item>
      <title>Automated Debugging - Workspace seems to be different than the one given.</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Automated-Debugging-Workspace-seems-to-be-different-than-the-one/m-p/182208#M4218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class="lia-quilt-column-main-right lia-quilt-column-right lia-quilt-column-20 lia-quilt-column"&gt;&lt;DIV class="lia-quilt-column-alley-right lia-quilt-column-alley"&gt;&lt;DIV class="lia-component-body lia-message-body"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im trying to run a TCL script in the debugger using CW 10.1.8. The script starts but the Multicore Launch configuration cannot be found. There is also no Project visible in the CW Projects window.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I start eclipse in the following way:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cwide.exe -data D:\Documents and Settings\foo\workspace-1.8 -vmargsplus -Dcw.script="{D:\Documents and Settings\foo\workspace-1.8\AutoBuild\runTest.tcl}"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The TCL script looks as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pwd&lt;BR /&gt;debug -name ADS_XYZ_2Cores&lt;BR /&gt;mc::group removeall&lt;BR /&gt;mc::group new MSC8156&lt;BR /&gt;mc::group enable 0.0&lt;BR /&gt;mc::group enable 0.1&lt;BR /&gt;mc::go&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The output in the IDE Debugger Window looks as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;----------------------------------------------------------------&lt;/P&gt;&lt;P&gt;CodeWarrior Debugger Shell v1.0&lt;BR /&gt;%&amp;gt;source {D:\Documents and Settings\foo\workspace-1.8\AutoBuild\runTest.tcl}&lt;BR /&gt;pwd&lt;BR /&gt;D:/Documents and Settings/foo/workspace-1.8/AutoBuild&lt;BR /&gt;cmdwin::eclipse::debug -name ADS_XYZ_2Cores&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Error: no launch configurations exist&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After starting the IDE the CodeWarrior Projects Window is empty. Normally I would expect the project to be debugged to exist in there. I can import the project into the Workspace and then the script does get further but the project starts with the wrong Build Configuration and so a Build is triggered interferring with the debugging.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm wondering now whether the workspace/configuration is different in some ways for the IDE when called from the command line.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, if there would be a way to set the Build Configuration I would be glad.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Killian&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 21:03:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Automated-Debugging-Workspace-seems-to-be-different-than-the-one/m-p/182208#M4218</guid>
      <dc:creator>kt3072</dc:creator>
      <dc:date>2011-02-08T21:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Debugging - Workspace seems to be different than the one given.</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Automated-Debugging-Workspace-seems-to-be-different-than-the-one/m-p/182209#M4219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here are several suggestions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) I do not know why you are enclosing your directory path with curly braces. The double quotes alone should do the job. They do not seem to hurting anything, but still...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Add the argument -data to specify the project's workspace. Here's an example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"C:\Program Files\Freescale\CW SC v10.1\eclipse\cwide.exe"&lt;BR /&gt;&amp;nbsp; -data D:\workspace_StarCore&lt;BR /&gt;&amp;nbsp; –vmargsplus&lt;BR /&gt;&amp;nbsp; -Dcw.script=D:\workspace_StarCore\FIR_filter\tcl_test.tcl&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since your project is outside of the workspace, you probably need to modify the data arument. I would strongly recommend that, until you get this working, you run the project from within the workspace directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) If your launch configuration is named ADS_XYZ_2Cores, try the following for the debug command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;debug {ADS_XYZ_2Cores}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---Tom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 23:17:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Automated-Debugging-Workspace-seems-to-be-different-than-the-one/m-p/182209#M4219</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2011-02-08T23:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Debugging - Workspace seems to be different than the one given.</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Automated-Debugging-Workspace-seems-to-be-different-than-the-one/m-p/182210#M4220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To provides some answers:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) If I omit the curly braces I get&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CodeWarrior Debugger Shell v1.0&lt;BR /&gt;%&amp;gt;source D:\Documents and Settings\ktimmler\workspace-1.8\AutoBuild\runTest.tcl&lt;BR /&gt;Error: wrong # args: should be "source fileName"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since I'm using Perl the quotes probably get evaluated at some stage, I guess I could try harder, but it seems to work ok.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) "-data" is in there right at the start:&lt;/P&gt;&lt;P&gt;cwide.exe -data D:\Documents and Settings\foo\workspace-1.8 -vmargsplus -Dcw.script="{D:\Documents and Settings\foo\workspace-1.8\AutoBuild\runTest.tcl}"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) I will give it a try. I have to add that importing the project into the empty workspace lets the debugger run, so I assume that the command is right, just the environment isn't.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that the source code will always reside outside the workspace since it is in a Clearcase view. I can put the scripts near the project files but to get the source/project into the workspace I would have to mount the view in the workspace which would require some UNIX like features under Windows XP which I'm using. Maybe I can mount the view under a directory under windows now though.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll have a closer look at things, thanks for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Killian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 23:46:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Automated-Debugging-Workspace-seems-to-be-different-than-the-one/m-p/182210#M4220</guid>
      <dc:creator>kt3072</dc:creator>
      <dc:date>2011-02-08T23:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Debugging - Workspace seems to be different than the one given.</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Automated-Debugging-Workspace-seems-to-be-different-than-the-one/m-p/182211#M4221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well this doesn't come as a surprise, the workspace path wasn't recognized correctly. I had to put it in quotes. The following seems to find the workspace correctly:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cwide.exe -data "D:\Documents and Settings\ktimmler\workspace-1.8" X:\L1_Lte_Metro\dsp_code\make\.project -vmargsplus -Dcw.script="{D:\Documents and Settings\ktimmler\workspace-1.8\AutoBuild\runTest.tcl}"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Great! Thanks for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Killian&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Feb 2011 00:04:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Automated-Debugging-Workspace-seems-to-be-different-than-the-one/m-p/182211#M4221</guid>
      <dc:creator>kt3072</dc:creator>
      <dc:date>2011-02-09T00:04:53Z</dc:date>
    </item>
  </channel>
</rss>

