Skip to content

Commit

Permalink
Fix detection loop meeting 'function' objects (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Kositsky authored and GitHub Enterprise committed Nov 13, 2024
1 parent 295981b commit ad147f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contrib/gdb-printers/bde_printer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1542,6 +1542,8 @@ def reload():

## Remove the pretty printer if it exists
for printer in gdb.pretty_printers:
if not hasattr(printer, "name"):
continue
if printer.name == "BDE":
gdb.pretty_printers.remove(printer)
break
Expand Down

0 comments on commit ad147f3

Please sign in to comment.