This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Command Line Arguments for the Eclipse IDE

Hello,

I am building an executable from the command line, and want to start the Eclipse GUI to debug it.

Is it possible to pass arguments to the eclipse IDE when starting?

For example, I would like to pass the .ccxml and the .out file.

I have found some articles that mention that parameters are supported, but have not found a list of what they are.

Thanks!

  • John Paliotta said:

    Is it possible to pass arguments to the eclipse IDE when starting?

    For example, I would like to pass the .ccxml and the .out file.

    No... at least not via the actual CCS exe. This is because the ccxml and out file are TI specific file related to debugging. When you first launch CCS, you are launching Eclipse IDE without a debug session.

    Now you can create a DSS script that can start up CCS and configure the target, start the debugger and load the program and any other steps you wish to automate.

    http://processors.wiki.ti.com/index.php/DSS_-_Launching_CCS_from_DSS

    Thanks

    ki

  • Hi Ki,

    This was helpful

    I now have the CCS GUI auto opening from the DSS.

    One more question.

    The ccxml file that I use in dss is not in the standard location: C:\Users\jjp\user\CCSTargetConfigurations

    I have it in c:\testing\MyTarget.ccxml for example.

    Is it possible fro me to navigate to that file and launch that debug configuration, or will the script have to copy my file into the common location: C:\Users\jjp\user\CCSTargetConfigurations?

    If I have to copy it, is there some way to know where this is on any system?

    Thanks!

    John

  • If you are using CCSv5.2 and greater, I don't think it matters where you ccxml resides. CCS should know where it is from the path used in the setConfig API.

  • I am using 4.2.4.

    When the GUI opens from the script, I cannot figure out, in the GUI, how to load my exact .ccxml.

    I tried copying it to the common location, but CCS is still unhappy because the files have different paths.

    I tried using file open, but that does not activate that file for my debug connection.

    Must I copy the ccxml to the common location, and then use that location for the DSS and CCS GUI?

  • John Paliotta said:
    I am using 4.2.4.

    I strongly suggest moving to CCSv5.3. There has been a lot of usability improvements with this feature since CCSv4 (as you can see v4 had a bunch of usability issues)

  • We are a tool vendor not an end user.

    We have customers using Code Composer 4.1, and CCS 3.1, 3.3, 4.x, adn 5.x.

    So we support all of those, for automated unit testing.

  • Is there some way that I can know the default location where CCS will look for the User Defined .ccxml files?

    If I knew that, I could programatially copy my ccxml there.

    I just did that manually, and everything works fine.

    Thanks!

  • John Paliotta said:
    Is there some way that I can know the default location where CCS will look for the User Defined .ccxml files?

    Go to 'Windows -> Preferences', then in the dialog:

    It tells you what the default is, and also allows you to change the default directory.

    Thanks

    ki