{"record":{"id":"1cfa36343d84fea6","repo":"deivid-rodriguez/byebug","slug":"unknown-command-name-try-help-1cfa36","errorCode":null,"errorMessage":"Unknown command '#{name}'. Try '#{help}'","messagePattern":"Unknown command '#(.+?)'\\. Try '#(.+?)'","errorType":"exception","errorClass":"Byebug::CommandNotFound","httpStatus":null,"severity":"error","filePath":"lib/byebug/processors/script_processor.rb","lineNumber":21,"sourceCode":"require_relative \"command_processor\"\n\nmodule Byebug\n  #\n  # Processes commands from a file\n  #\n  class ScriptProcessor < CommandProcessor\n    #\n    # Available commands\n    #\n    def commands\n      super.select(&:allow_in_control)\n    end\n\n    def repl\n      while (input = interface.read_command(prompt))\n        safely do\n          command = command_list.match(input)\n          raise CommandNotFound.new(input) unless command\n\n          command.new(self, input).execute\n        end\n      end\n    end\n\n    def after_repl\n      super\n\n      interface.close\n    end\n\n    #\n    # Prompt shown before reading a command.\n    #\n    def prompt\n      \"(byebug:ctrl) \"\n    end","sourceCodeStart":3,"sourceCodeEnd":39,"githubUrl":"https://github.com/deivid-rodriguez/byebug/blob/25476b18d97172fecd61056d36255f311aa4a73c/lib/byebug/processors/script_processor.rb#L3-L39","documentation":"Error \"Unknown command '#{name}'. Try '#{help}'\" thrown in deivid-rodriguez/byebug.","triggerScenarios":"Thrown at lib/byebug/processors/script_processor.rb:21 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Correct the command name in the script file; only commands allowed in control mode work there.","Run 'help' in interactive byebug to see valid commands and fix the script accordingly."],"exampleFix":"# in the byebug script file replace the invalid line with a valid command, e.g. 'continue' instead of 'contnue'","handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"25476b18d97172fecd61056d36255f311aa4a73c","analyzedAt":"2026-08-23T12:31:57.934Z","schemaVersion":2},"datasetVersion":"2026-08-23T16:17:53.355Z"}