Table of Contents

Recording EED dump files

EED (EasyAR Event Dump) files can capture key runtime data for EasyAR technical support to analyze issues, such as tracker tracking results, network requests between the program and Mega services, etc. They are typically used when issues cannot be reproduced using EIF files.

Recording using the developer mode panel

Run the program, then open the developer mode diagnostics panel (by quickly tapping the screen 8 times under default settings), click rec under eed to start recording. Reproduce the issue, then click stop to complete recording.

diagnostics eed windows

The path of the recorded EED file will be displayed during recording.

diagnostics eed windows 2

Recording using scripts

You can use EventDumpRecorder.start(string, int) to start recording an EED file, and EventDumpRecorder.stop() to stop recording.

For example, the following code shows how to record an EED file in a script:

EventDumpRecorder eedRecorder;

bool RecordEED(bool on)
{
    if (on)
    {
        if (session.Assembly == null || session.Assembly.Display == null) { return false; }
        var path = Path.Combine(Application.persistentDataPath, DateTime.Now.ToString("yyyy-MM-dd_HH-mm-ss.fff") + ".eed");
        eedRecorder = EventDumpRecorder.create();
        eedRecorder?.start(path, session.Assembly.Display.Rotation);
    }
    else
    {
        eedRecorder?.stop();
        eedRecorder?.Dispose();
        eedRecorder = null;
    }
    return true;
}