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.

Pre-fetch breakpoint files

I have been having trouble with a new installation of CCS 6.01 on my win7 64-bit system. The editor will not highlight C code properly, and I can no longer set breakpoints by right-clicking on a line of code. So I tried to re-install CCS - now I am really in trouble! I get the start-up error message "An internal error occurred during "Pre-fetch breakpoint XML files". Then I am unable to close CCS, instead getting the message "An error has occurred. See error log for more details. com/ti/xpcom/XPCOMException". I click on details, only to get the same error message. Please advise.

  • Hi Otto,

    Otto Hunt said:
    So I tried to re-install CCS

    Did you install in a new directory or did you over-install on top of the older installation? the latter is known to cause various problems

    ki

  • Thanks, Ki. After uninstalling CCS again, I also renamed the c:\ti folder to c:\ti_old. Then did another re-install. Now CCS opens and closes nicely without error messages. My C code is still not highlighted (not a deal-breaker, but I miss that) and I still cannot create a breakpoint by double-clicking or right-clicking on a source code line. I know there are work-arounds for these, it's just annoying.

  • Otto Hunt said:
    My C code is still not highlighted (not a deal-breaker, but I miss that)

    Do you mean C syntax like keywords and such? Can you provide a screenshot?

    Otto Hunt said:
    I still cannot create a breakpoint by double-clicking or right-clicking on a source code line

    Does it set a breakpoint but has it disabled or does nothing happen at all? If you right-click in the editor margin, you should see a context menu pop up. Do you see this? or nothing?

  • Here is a screenshot from CCS:

    Here is a screenshot of the same text as presented in Notepad++ with C encoding:

    Notepad++ encoding is not the same as CCS, but color is nice.

    When I right-click on the left margin of this text window, I get a small menu:

    Add Bookmark...

    Add Task...

    Show Quick Diff

    Show Line Numbers

    Preferences...

    No "set breakpoint" options, like there used to be.

  • Something is definitely wrong. Can you actually provide a screenshot of your whole CCS environment? in that screenshot, I'd like to see your project in the project explorer, full name of the C file open and what perspective you are in.

  • Here is a screenshot of the edit perspective:

    I could only insert a file because the image is too big. I also have it stored in my public Drobox here. The file that is open is main.c.

  • thanks. It looks like CCS is opening the file with the text editor and not the default C/C++ Editor. Can you explicitly open it with the C/C++ editor to confirm this?

  • Way cool, Ki, that was it! Now I see the pretty syntax-derived colors, and I can set breakpoints as before. I'm cookin' with gas, now!

  • Cool!

    Looks like the default behavior got changed somehow. To change it back, use the same first context menu in my screenshot above but select the 'Other' item (it is cut off in my screenshot but it is the last item in the menu). A dialog will open where you can select the editor to associate with that file extension.

    Thanks

    ki

  • Did that. Thanks again!