Using breakpoints toolbar item on un-named file causes crash
|Reported by:||tome||Owned by:||bowtie|
|Component:||Debugger for Perl 5||Version:||0.95|
On the latest svn:
If the breakpoints toolbar item is clicked while a file has not yet been named (new file), it executes the code in Breakpoints.pm 'set_breakpoints_clicked'.
The breakpoints SQL query dies there for me because of a null file name, and the error isn't trapped (in svn), and Padre crashes for me.
My guess would be that it makes sense to prompt the user if they should save the file, but I don't know enough about the code to know if we should also do the same if there are any unsaved changes in the file?
Change History (4)
comment:1 Changed 3 years ago by bowtie
- Component changed from not classified yet to Debugger for Perl 5
- Owner set to bowtie
- Status changed from new to accepted