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

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

  • [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.