Skip to content

set debug true doesn't propogate #4

Open
@leith-bartrich

Description

@leith-bartrich

In previous versions of submenu (that were part of the cmd2 module) a submenu would use its parent's "debug" variable. Such that when I ran "set debug true" and then encountered an error in a subsequent command within a submenu, the "debug" flag was respected and I would get a stack trace. The version currently in the fix_bugs branch, doesn't exhibit that behavior. Instead, I need to enter the subcommand by calling it with no arguments. Then, I can "set debug true". And then I get the expected (legacy) behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions