#1718·pwndbg

Setting config variable with incompatible type produces unclear error message

Author: dmur1Created May 18, 2023Updated Sep 15, 2026
Labelsbugenhancementhelp wanted

Description

supplying False to a config variable that expects an int, such as context-backtrace-lines, results in an unclear error message

image

Steps to reproduce

  1. Open GDB

  2. Type set context-backtrace-lines False for example.

  3. Observe the following output ( or similar )

pwndbg > set context-backtrace-lines False
No symbol table is loaded.  Use the "file" command.

My setup

pwndbg> version
Gdb:      12.1
Python:   3.10.6 (main, Mar 10 2023, 10:55:28) [GCC 11.3.0]
Pwndbg:   2023.03.19 build: 3b561cd
Capstone: 4.0.1024
Unicorn:  2.0.1