Sunday, March 18th 2018, 2:55pm UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.



Date of registration: Mar 31st 2010

Posts: 19


Monday, October 9th 2017, 12:32am

[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?


Super Moderator

Date of registration: Jan 2nd 2017

Posts: 809


Monday, October 9th 2017, 10:24am

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?

Best regards,