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.

CCS: Self created Breakpoint Action can not be used.

Other Parts Discussed in Thread: MSP430F1612

Tool/software: Code Composer Studio

I have created a new Breakpoint Action "MyMethodLog":


Name: MyMethodLog
Type: Log Action
Summary: Executing MyMethod

I like to trace when method is called without stopping.

When I create new breakpoint I can not select this action. Why?

  • Hello,
    Could you provide more details? Please seethe below link for the type of information needed:
    software-dl.ti.com/.../ccs_support.html

    Thanks
    ki
  • Windows 10 Pro
    64-bit Operating System, x64-based processor

    Code Composer Studio Version: 7.2.0.00013

    MSP430F1612, MSP430-FET430UIF V1.4a

    Create Breakpoint Action:
    1.From the menu select Window->Preferences
    2.Expand C/C++ > Debug and click Breakpoint Actions and then click New...
    3.Type Action name
    4.Select Log Action as Action Type
    5.Write Message to log when the breakpoint is hit and click OK

    Create breakpoint:
    1.DoubleClick left side of the row to mark the breakpoint

    Start debugging:
    1.Select Run->Debug

    Select action for the breakpoint:
    1.Wait that the degugging is ready to be started (Run->Resume), but do not start yet
    2.RightClick breakpoint in the Breakpoints-window and select Breakpoint Properties...
    3.Select Action --> Can not see my own created Log Action

    I can not use printf() for debugging so I whould need this string logging without halting in the IDE application for the breakpoint.

  • Hello,

    The steps you outlined for creating a breakpoint action does not apply to CCS breakpoints, but instead applies to standard Eclipse breakpoints. Assuming you are using the CCS debugger, you would be using CCS breakpoints.

    Lasse Heino said:
    I can not use printf() for debugging so I whould need this string logging without halting in the IDE application for the breakpoint.

    If you are looking for non-intrusive printf type functionality, you can look to rerouting it like mentioned in the link below:

    http://processors.wiki.ti.com/index.php/Printf_support_for_MSP430_CCSTUDIO_compiler#Rerouting_printf.28.29_output

    If you are using TI-RTOS, you can also look at using system_printf

    Thanks

    ki