Aaron Meurer
Aaron Meurer
> Yeah I'll have to add documentation about how the hierarchy works and what linking styles does. There's definitely some deduping that can be done, did you want me to...
You can plug in a custom shell to the `!` shell quite easily (see https://documen.tician.de/pudb/shells.html#custom-shells). For C-x, it has to be run inside of urwid itself. If it uses urwid...
Maybe we should (optionally?) embed bpython-urwid. I wonder how hard that would be to do. It would be a more featureful shell than the current C-x shell, and probably good...
I agree we should not allow the keyboard to get to the sidebar if it's hidden. Can you disable key bindings temporarily?
Right now save_config swallows all exceptions https://github.com/inducer/pudb/blob/3f041b88b7cf623a22d50e702663b1e3e8076f3c/pudb/settings.py#L150. Can you try removing the `except Exception` and seeing if an exception occurs. Ditto with load_config.
My guess is that load_config fails on loading the file, but doesn't do anything because of an `except Exception: pass`. So it sets everything as the default, then immediately saves...
Can you paste your `pudb.cfg` here?
If you can paste the `pudb.cfg` here that has the `e\n` on line 21 that would help to figure out what is causing this. In the debugger code, the config...
I think a good first step here would be to actually log the exceptions when loading the config, rather than swallowing them all. If there are other `except Exception`s in...
Also if configparser has a set of known exceptions it raises when the ini file has errors, we should raise those distinctly ("error loading config" vs. "potential bug in pudb").