[Pudb] pudb and ctrl-p panel options are not permanent ?
lists at informa.tiker.net
Thu Mar 10 11:54:00 PST 2011
On Thu, 10 Mar 2011 17:28:12 +0100, Fabrizio Tappero <fabrizio.tappero at gmail.com> wrote:
> hello Andreas,
> it seems to me the the ctrl-p panel options that you set do not stick,
> everytime I run ipython and pudb I have to reset it.
Weird--these options should get saved to $HOME/.config/pudb/pudb.cfg the
moment you hit "OK" on that box. Is that happening for you?
> Also, it seems to me that pudb (as ipython) does not reload the source
> when you quit and restart. Bottom line, everytime I modify the code I
> need to exit from ipython with %Exit and get back in. Am I missing
PuDB relies on Python's linecache module. A strategically place
'from linecache import clearcache ; clearcache()' might do the
trick. Let me know what you find out. Ideally, this would be coupled
with module reloading.
> Last thing. I do not seem to understand how to do:
> %pudb main.py -b 34 of some_file.py
> so that it puts a breakpoint at line 34 of some_file.py.
That's a sensible enhancement. I'll try to find time to put it
in. Alternatively, I'd be happy to take a patch.
> I'd like to put all this info myself in the dedicated wiki
> can you enable me?
You should be able to edit right away, even without a user account--you
just have to answer the spam prevention questions.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the Pudb