@nevware21/ts-debug
    Preparing search index...

    Interface IDbgCmdCtx

    Context returned from adding a command to allow removal

    interface IDbgCmdCtx {
        c: IDbgCmd;
        exec: (ctx: IDbgCmdContext, theArgs: any[]) => any;
        rm: () => void;
    }
    Index

    Properties

    Properties

    The command associated with this context

    exec: (ctx: IDbgCmdContext, theArgs: any[]) => any

    Execute the command providing the context and arguments

    Type Declaration

      • (ctx: IDbgCmdContext, theArgs: any[]): any
      • Parameters

        • ctx: IDbgCmdContext

          The current execution context

        • theArgs: any[]

          The arguments

        Returns any

        The resut from the command

    rm: () => void

    Remove the command from the instance