Friday, December 15th 2017, 8:46pm UTC+1

You are not logged in.

  • Login
  • Register

apullin

Beginner

Date of registration: Mar 31st 2010

Posts: 13

1

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?

SEGGER - Nino

Super Moderator

Date of registration: Jan 2nd 2017

Posts: 467

2

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?
Subscribe: https://www.segger.com/notification/subscribe.php?prodid=178

Best regards,
Nino