[SOLVED] Expressions for watched data in ozone, cast pointer to array?

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

  • [SOLVED] Expressions for watched data in ozone, cast pointer to array?

    When using Ozone, I commonly encounter situations where pointers to dynamic memory are used, but are picked up as just 1-element arrays by the Ozone debugger since there is no compile-time info available, so that only the [0] element can be dereferenced in the "Watched Data" windows.

    Is there support in Expressions used by Ozone support a way to look at the pointer as an arbitrary type, like casting (sort of) to a char[128] or similar?
  • Hello Andrew,

    This feature is not implemented in Ozone yet.
    But it is currently on the ToDo list and should be added in the next couple of releases so you will be able to cast the pointer type and size.

    Would you like to be added to the Ozone update notification list,
    so you get informed automatically when the new version becomes available?
    Subscribe: segger.com/notification/subscribe.php?prodid=178

    Best regards,
    Nino
    Please read the forum rules before posting: Forum Rules

    Keep in mind, this is not a support forum. Its main purpose is user to user interaction.
    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 contact us per e-mail.
    The following contact form can be used for this: Contact Us