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
Steps to reproduce
Open GDB
Type
set context-backtrace-lines Falsefor example.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.1Source: pwndbg/pwndbg