(n=1)
Select and print stack frame called by this one.
    An argument says how many frames down to go.
Select and print stack frame called by this one.
    An argument says how many frames down to go.
Select and print stack frame called by this one . An argument says how many frames down to go .
def down(n=1):
    """
    Select and print stack frame called by this one.
    An argument says how many frames down to go.
    """
    f = gdb.selected_frame()

    for i in range(int(n)):
        if f.newer():
            f = f.newer()
    f.select()

    # workaround for #632
    gdb.execute('frame', to_string=True)

    bt = pwndbg.commands.context.context_backtrace(with_banner=False)
    print('\n'.join(bt))

    j()
def down ( n = 1 ) : f = gdb . selected_frame ( ) for i in range ( int ( n ) ) : if f . newer ( ) : f = f . newer ( ) f . select ( ) # workaround for #632 gdb . execute ( 'frame' , to_string = True ) bt = pwndbg . commands . context . context_backtrace ( with_banner = False ) print ( '\n' . join ( bt ) ) j ( )