Skip to content

Prompt

context_shown = False module-attribute

cur: Tuple[gdb.Inferior, gdb.InferiorThread] | None = None module-attribute

last_alive_state = False module-attribute

show_tip = pwndbg.config.add_param('show-tips', True, 'whether to display the tip of the day on startup') module-attribute

initial_hook(*a)

prompt_hook(*a)

reset_context_shown(*a)

set_prompt()

show_hint()

thread_is_stopped()

This detects whether selected thread is stopped. It is not stopped in situations when gdb is executing commands that are attached to a breakpoint by command command.

For more info see issue #229 ( https://github.com/pwndbg/pwndbg/issues/299 ) :return: Whether gdb executes commands attached to bp with command command.