[SOLVED] debug stepping in c file doesn't work for one specific file in project

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

  • [SOLVED] debug stepping in c file doesn't work for one specific file in project

    Hello,

    for some specific file in project I cant step (F10) in debugger in c file,
    debugger always focus asembly view, and assembly windows doesn't have C labels (non - stepable.png).

    Even clicking to breakpoint can't load and focus proper c file and line .

    see. stepable screenshot - debugger stops in c file and assembly window has C labels.
    nonstepable screenshot - debugger always stop in assembly window and it doesn't have C labels, c file is not focused.

    Any idea?

    Thanks!
    Images
    • stepable.PNG

      64.4 kB, 1,106×518, viewed 631 times
    • non - stepable.PNG

      46.74 kB, 1,099×411, viewed 627 times
  • Hello,

    Thank you for your inquiry.
    The described behaviour usually happens if the source file path is not correctly set in the project and Embedded Studio can't reference the symbol information to the file as it can't find the file.
    Could you provide an example project for reproduction purposes?

    Best regards,
    Nino
    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.
  • ok, thanks for hint1

    Paths in project was fine so ...

    I have deleted all *.emSession files and everythig in /output

    and have them recreated on studio open and now it works fine


    Thanks for help
  • Hello,

    Great to hear that you are up and running again.
    We will mark this thread as solved now.

    Best regards,
    Nino
    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.