Open oliveagle opened 11 years ago
Makes sense, sorry for the trouble. I'm kind of swamped right now, but I'd be happy to take a patch.
I added an item to the FAQ about where breakpoints are stored in #74. See what you think.
bravo :D
oliveagle
QQ: 54679821
微博: @奔跑在高架上 Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Saturday, June 1, 2013 at 1:09 AM, Aaron Meurer wrote:
I added an item to the FAQ about where breakpoints are stored in #74 (https://github.com/inducer/pudb/issues/74). See what you think.
— Reply to this email directly or view it on GitHub (https://github.com/inducer/pudb/issues/73#issuecomment-18758132).
I'm using
vim-pudb
to toggle breakpoints directly while editing the python file. Accidently, I press my shortcut keybinds to toggle a breakpoint on a .txt file. then pudb crashed. it throws out an syntax error.pudb come back after delete that breakpoint in
saved-breakpoints
directly.So. I think pudb
should check
whether a breakpoint is added from a.py
file or not before save that breakpoint in 'saved-breakpoints' file. and handle exceptions gracefully while parsing breakpoints.p.s. It would be better to make it clear
where to find those 'saved-breakpoints' file without dig into the source code
.