Opened 8 years ago

Closed 8 years ago

#1389 closed defect (fixed)

Breakpoints visual indicators aren't restored on Padre restart

Reported by: tome Owned by: bowtie
Priority: trivial Milestone:
Component: Debugger for Perl 5 Version: 0.95
Keywords: breakpoints Cc:


In the latest svn (18061) , when I set some breakpoints, and then close Padre and relaunch it, the breakpoints appear to be retained but are not re-indicated in the user interface.

This has the funny effect of making it look like my first click to set a breakpoint is ignored, when in fact it's unsetting the breakpoint that was retained from the previous run.

Change History (8)

comment:1 Changed 8 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

comment:2 Changed 8 years ago by bowtie

  • Priority changed from major to trivial

I think you are observing the margin markers (blue/gray ...)

which are primary updated for the whole file when using the Breakpoint panel

The intention with the tool-bar breakpoint icon was to enable a breakpoint to be set, with out having to load another panel. a kind of short cut.

Is this not clear in wiki page? "Visit Debug wiki" under Debug menu

but I like the critique.

deciding if breakpoint margin markers should be added to the task system is another.

comment:3 Changed 8 years ago by bowtie

  • Resolution set to fixed
  • Status changed from accepted to closed


after being persuaded by tome++

breakpoint margin markers are now displayed on file load


comment:4 Changed 8 years ago by bowtie

  • Resolution fixed deleted
  • Status changed from closed to reopened

previous was killing me, it was running continuous

hence tweak and re-open

tweak display a files breakpoints after change from tool-bar icon

better but not there yet

comment:5 Changed 8 years ago by bowtie


added to main->setup_editor

so that it only runs once per file


comment:6 Changed 8 years ago by bowtie

added show margin to above


comment:7 Changed 8 years ago by bowtie

just install Padre r18171

kevin@billy:~/perl5/perlbrew/perls/perl-5.14.2/bin$ perl -d padre

Loading DB routines from version 1.33
Editor support available.

Enter h or `h h' for help, or `man perldebug' for more help.

main::(padre:3):    eval 'exec /home/kevin/perl5/perlbrew/perls/perl-5.14.2/bin/perl  -S $0 ${1+"$@"}'
main::(padre:4):        if 0; # not running under some shell
                                                                                                                                      DB<1> b load /home/kevin/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Padre/Wx/
Will stop on load of `/home/kevin/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Padre/Wx/'.
                                                                                                                                      DB<2> c
11:18:55: Error: Image file is not of type 1.
'/home/kevin/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Padre/Wx/' loaded...
19: our $VERSION = '0.95';
                                                                                                                                      DB<2> .
19: our $VERSION = '0.95';
                                                                                                                                      DB<2> b 580
                                                                                                                                      DB<3> c

do not generate any errors,

Version 0, edited 8 years ago by bowtie (next)

comment:8 Changed 8 years ago by bowtie

  • Resolution set to fixed
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.