Wednesday, August 23rd 2017, 10:11am UTC+2

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.

SamDev

Beginner

Date of registration: May 11th 2016

Posts: 14

1

Monday, September 5th 2016, 11:02am

[Ozone] Error: not possible to set VAR_BREAK_AT_THIS_SYMBOL value by script

Hello,
In my OnProjectLoad() function, I added the following line:
Edit.SysVar(VAR_BREAK_AT_THIS_SYMBOL, "reset_vector");
But when opening the project, I can see in Ozone Console this line instead of my one (and the previous lines are the ones from my function so I'm sure to execute the correct function):

Edit.SysVar (VAR_BREAK_AT_THIS_SYMBOL, main);
So my breakpoint is still set to "main" in "System Variables window" and at execution.
The only solution I have found is to set manually "reset_vector" in "System Variables window" but it is not convenient for my purpose.
Any idea?
Thanks.