Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a "Export debug report" button on the menu #1296

Closed
nicolasbadano opened this issue May 18, 2015 · 0 comments
Closed

Create a "Export debug report" button on the menu #1296

nicolasbadano opened this issue May 18, 2015 · 0 comments
Assignees
Labels
kind/feature Release Notes: **ADDED:**

Comments

@nicolasbadano
Copy link
Contributor

Using the ace_clipboard extension and a piece of code similar to this:

{
    private["_var"];
    _var = missionNamespace getVariable [_x, nil];
    if(!isnil "_var" && {(typeName _var) == "ARRAY"} ) then {
        diag_log text format["%1 - ARRAY SIZE: %2", _x, (count _var)];
    };
} forEach (allVariables missionNamespace);

{
    {
        private["_var"];
        _var = missionNamespace getVariable [_x, nil];
        if(!isnil "_var" && {(typeName _var) == "ARRAY"} ) then {
            diag_log text format["%1 - ARRAY SIZE: %2", _x, (count _var)];
        };
    } forEach allVariables(_x);
} forEach allUnits;

export all the current values of variables to the clipboard. Usefull for debugging

@nicolasbadano nicolasbadano added the kind/feature Release Notes: **ADDED:** label May 18, 2015
@PabstMirror PabstMirror self-assigned this May 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Release Notes: **ADDED:**
Projects
None yet
Development

No branches or pull requests

2 participants