ArmaDebugEngine icon indicating copy to clipboard operation
ArmaDebugEngine copied to clipboard

Suggestion: raise an error on attempt to access non-existant (nil) variables

Open Sparker95 opened this issue 4 years ago • 1 comments

Arma doesn't raise an error if we call a code-variable which is not defined: 0 call fnc_codeDoesNotExist; // No error Which causes obvious inconvenience.

More thoughts about this feature:

  • Does it need to work with private variables too?
  • Will it work with with uiNamespace do ?

Sparker95 avatar Oct 29 '19 12:10 Sparker95

Will it work with with uiNamespace do ?

yes, any global variable no matter what namespace is currently active.

Does it need to work with private variables too?

That needs to be configurable.. somehow. ADE doesn't have a config thing yet. So maybe it will just be enabled/disabled via script commands.

dedmen avatar Oct 29 '19 13:10 dedmen