dedmen / ArmaDebugEngine

A still experimental Script Debugger for Arma 3
Other
48 stars 10 forks source link

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

Open Sparker95 opened 5 years ago

Sparker95 commented 5 years ago

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:

dedmen commented 5 years ago

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.