{"name":"diag_captureFrame","title":"diag captureFrame","type":"command","url":"https://community.bistudio.com/wiki/diag_captureFrame","revid":379089,"updated":"2026-09-27T09:45:01Z","groups":["Diagnostic","Performance Profiling"],"status":"ok","games":{"arma2oa":"1.63","arma3":"1.00"},"since":"arma2oa 1.63","arma3_since":"1.00","branch":["diag","prof"],"description":"This command starts counting frames from the moment it is executed and when the count reaches the number passed as param, the current frame is captured and captured data UI dialog appears, similar to diag_captureSlowFrame. This can also be executed on a dedicated Server and because a Server has no UI it will behave like diag_captureFrameToFile.\n\n> [!IMPORTANT]\n> BattlEye's RCON variant of this command is **#captureFrame**","syntaxes":[{"syntax":"diag_captureFrame frame","params":[{"name":"frame","type":"Number","description":"next n-th frame to be captured","type_expr":"Number"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"unary","right":{"text":"frame"}}],"examples":[{"code":["diag_captureFrame 1; // capture the first frame after command execution"]},{"code":["diag_captureFrame 24; // capture 24th frame after command execution"]}],"see_also":["Arma 3: Diagnostics Exe","Performance Profiling","Arma 3: Cheats","Multiplayer Server Commands","diag_captureFrameToFile","diag_captureSlowFrame","diag logSlowFrame","logEntities","exportJIPMessages"]}