)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":1002047,"name":"Evgeniy Naydanov","email":"eugnay@gmail.com","username":"en-sc"},"change_message_id":"f53f416f4ac97bda0c5c69d5f7ee1b6decec4314","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"a9b337a8_ba456d15","updated":"2025-08-26 11:24:42.000000000","message":"Antonio, could you please take a look at this one?","commit_id":"5caa5be48df46e8ba32ff179005bb9f16bf9853a"},{"author":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},"change_message_id":"dd4ccccde16dd87ef43e51f4cec664b7bc79dc74","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"d3ecb273_9f731ea2","updated":"2025-08-29 16:16:13.000000000","message":"Evgeniy, I don\u0027t think this is a good idea.\n\n`capture` command was in the old OpenOCD mentioned to get the log output from a command (historically the only command output). Since then lot of effort was done to rework commands to return all interesting info in their Tcl return string so in the ideal case `capture` is no more necessary. Of course not all commands were re-worked.\n\nCommit 2c8c2cb6b really made obsolete the second part of the original comment\n`This is necessary in order to avoid accidentally getting a non-empty string for tcl fn\u0027s.`\n\nHowever the first part of comment `This avoids capturing output from polling.` is still valid. If the captured command execution time is shorter than poll interval, poll log may appear randomly in the capture output. This may give unexpected results mainly in automated result processing.\n\nMoreover `capture {sleep 10000}` is IMO abuse of capture command - captured sleep itself does not produce any log, so capture serves solely as timed copy of (polling only) log. I would recommend to use `log_output` or `debug_level` commands instead to manipulate the log.\n\nIf you really must have `capture` with polling, add a command option to capture with polling and keep the default compatible with the old `capture`.","commit_id":"5caa5be48df46e8ba32ff179005bb9f16bf9853a"}]}
