{"record":{"id":"8a94de5d987d878f","repo":"deivid-rodriguez/byebug","slug":"unknown-command-name-try-help-8a94de","errorCode":null,"errorMessage":"Unknown command '#{name}'. Try '#{help}'","messagePattern":"Unknown command '#(.+?)'\\. Try '#(.+?)'","errorType":"exception","errorClass":"Byebug::CommandNotFound","httpStatus":null,"severity":"error","filePath":"lib/byebug/subcommands.rb","lineNumber":28,"sourceCode":"  # Subcommand additions.\n  #\n  module Subcommands\n    def self.included(command)\n      command.extend(ClassMethods)\n    end\n\n    extend Forwardable\n    def_delegators \"self.class\", :subcommand_list\n\n    #\n    # Delegates to subcommands or prints help if no subcommand specified.\n    #\n    def execute\n      subcmd_name = @match[1]\n      return puts(help) unless subcmd_name\n\n      subcmd = subcommand_list.match(subcmd_name)\n      raise CommandNotFound.new(subcmd_name, self.class) unless subcmd\n\n      subcmd.new(processor, arguments).execute\n    end\n\n    #\n    # Class methods added to subcommands\n    #\n    module ClassMethods\n      include Helpers::ReflectionHelper\n\n      #\n      # Default help text for a command with subcommands\n      #\n      def help\n        super + subcommand_list.to_s\n      end\n\n      #","sourceCodeStart":10,"sourceCodeEnd":46,"githubUrl":"https://github.com/deivid-rodriguez/byebug/blob/25476b18d97172fecd61056d36255f311aa4a73c/lib/byebug/subcommands.rb#L10-L46","documentation":"Error \"Unknown command '#{name}'. Try '#{help}'\" thrown in deivid-rodriguez/byebug.","triggerScenarios":"Thrown at lib/byebug/subcommands.rb:28 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the subcommand name for typos; run '<cmd>' alone to list its valid subcommands.","Use the exact subcommand name as registered in the command's subcommand list."],"exampleFix":"(byebug) info breakpoints   # instead of an invalid subcommand like 'info bp'","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"}