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.

Problem occurred while keeping the breakpoint

I am using MSP430UIF Debugger. When I kept the breakpoint in coding, it will break in interrupt function. So i can' t check the variable values.

Tell me the solution.

Thank you

  • Delete all the breakpoints.

  • Ramya Nagarajan said:
    When I kept the breakpoint in coding, it will break in interrupt function. So i can' t check the variable values.

    Don't try to describe your (apparently) big problem in two tiny sentences.

    Nobody will properly understand what your actual problem is. Does the debugger break where you didn't set a breakpoint? does it break on a breakpoint inside an ISR and never on the breakpoint in main code? (if so, it is because timers and/or ADCs and of course I/O peripherals don't stop working just because the CPU is stopped by the debugger, so long before you can continue from the breakpoint another interrupt is already pending - deactivate the breakpoints inside the ISR then)

    Or is your problem something else? Your description leaves much room for interpretation and guessing.

**Attention** This is a public forum