[SOLVED] Wrong source file opens

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

  • [SOLVED] Wrong source file opens

    Hello! Ozone 3.22.5 misbehaves if project has source files with similar names in different folders: for example, if a project has many "main.c" files in several folders. In Functions window, when I double-click on a function which located in a source file with unique name, it opens correct source file. But if I doubleclick on a function defined in one of "main.c" files, it opens another "main.c" file. In a similar way, I cannot set a breakpoint on a line in opened "main.c" file. Breakpoint is set instead in another "main.c" file. The only way to set a breakpoint in a correct place is to open disassembly and set a beakpoint there.
    Ozone 2.30 does not have this disease, it works correctly in described cases.
    Thanks!
    Michael
  • I'm experiencing exactly this issue myself with 3.22a - my application uses two independant tcp/ip stacks, so there are several duplicated functions/filenames (e.g udp.c, route.c, etc) which results in Ozone taking me to the wrong file when selecting a function which exists in two such files.

    I've resorted to renaming the offending source files so that Ozone doesn't get confused, but was hoping there'd be a better way- Fingers crossed this'll get addressed....

    David
  • Hi Michael,
    Hi David,
    Thank you for your inquiry.

    Could you please provide us with a sample project (including .elf-file) this issue is reproducible with?

    Ideally via our Support Ticket System (link below this post, in my signature).
    Please do also refer to this forum post in it (link).

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