Bug #7796

CBA_fnc_debug to be repaired

Added by Smashk over 5 years ago. Updated over 5 years ago.

Status:Closed Start date:01/06/2010
Priority:Normal Due date:
Assignee:Sickboy % Done:

100%

Category:Diagnostic functions
Target version:v0.3.0
Component:cba_diagnostic Affected Version:
Close Reason:

Description

CBA_fnc_debug
1 line 114: _type = _this select 2; 2 }; 3 }; 4 5 if (_type select 2) exitWith 6 { 7 [GVAR(debug), [_message, _component, [_type select 0,_type select 1,false]]] call CBA_fnc_globalEvent; 8 };

the line

1 [GVAR(debug), [_message, _component, [_type select 0,_type select 1,false]]] call CBA_fnc_globalEvent;

must get changed to

1 [QUOTE(GVAR(debug)), [_message, _component, [_type select 0,_type select 1,false]]] call CBA_fnc_globalEvent;

the old one gives following errors:

1 _Error in expression <andlers = CBA_eventHandlers getVariable _eventType; 2 3 if (not (isNil "_handlers")> 4 Error position: <_eventType; 5 6 if (not (isNil "_handlers")> 7 Error Nicht definierte Variable in Ausdruck: _eventtype 8 File x\cba\addons\events\fnc_localEvent.sqf, line 15 9 Error in expression < 10 }; 11 }; 12 13 if (_type select 2) exitWith 14 { 15 [cba_diagnostic_debug, [_message, _compon> 16 Error position: <cba_diagnostic_debug, [_message, _compon> 17 Error Nicht definierte Variable in Ausdruck: cba_diagnostic_debug 18 File x\cba\addons\diagnostic\fnc_debug.sqf, line 92_

Associated revisions

Revision 4ff60cc3
Added by Sickboy over 5 years ago

~ Fixed: fnc_debug MP side not working. Fixes #7796

Revision 4ff60cc3
Added by Sickboy over 5 years ago

~ Fixed: fnc_debug MP side not working. Fixes #7796

History

Updated by Sickboy over 5 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Updated by killswitch over 5 years ago

  • Target version set to v0.3.0

Updated by killswitch over 5 years ago

  • Category set to Diagnostic functions

Updated by killswitch over 5 years ago

  • Status changed from Resolved to Closed
  • Assignee set to Sickboy
  • Component set to cba_diagnostic

Confirmed working - using CBA_fnc_debug no longer causes an error.

Also available in: Atom PDF