Breakpoint Issue

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Breakpoint Issue

    Hi everyone,

    I seem to be having an issue while debugging with breakpoints. I've set my breakpoint to a line of code (line 64 of my code). However, when I start debugging, the breakpoint jumps to the next line of code (line 66).

    I've looked into the disassembly as well and saw that the function was missing in it. Instead, the function's code is there. Is this due to an optimization configuration or something bigger? Please let me know. I'm sure this is a simple fix/explanation for this.

    Edit: I forgot to mention, but I'm using SAM3U evaluation board and SAM-ICE debugger along with Atmel Studio 6

    Thanks!
    Ryan

    The post was edited 1 time, last by euphoricnoise ().

  • Hi Ryan,

    This is not a J-Link / SAM-ICE related question but a Atmel Studio related one,
    since the breakpoint management (Code <-> Source Line assignment of breakpoints) in Atmel Studio is done by Atmel Studio.
    J-Link does not have any influence on this. So you should get in touch with the people from Atmel Studio regarding this.

    Is this due to an optimization configuration

    Yes, pretty likely, but as I wrote:
    The guys from Atmel Studio are the correct ones to address here.


    - Alex
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.