Opened 3 years ago

Closed 2 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:

Description

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 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

comment:2 Changed 3 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 3 years ago by bowtie

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

ok

after being persuaded by tome++

http://irclog.perlgeek.de/padre/2012-01-25#i_5050459

breakpoint margin markers are now displayed on file load

r18085

comment:4 Changed 3 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 3 years ago by bowtie

tome

added to main->setup_editor

so that it only runs once per file

r18090

comment:6 Changed 3 years ago by bowtie

added show margin to above

r18092

comment:7 Changed 2 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 perl5db.pl 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/Directory.pm
Will stop on load of `/home/kevin/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Padre/Wx/Directory.pm'.
                                                                                                                                      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/Directory.pm' loaded...
Padre::Wx::Main::directory(/home/kevin/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Padre/Wx/Directory.pm:19):
19: our $VERSION = '0.95';
                                                                                                                                      DB<2> .
Padre::Wx::Main::directory(/home/kevin/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Padre/Wx/Directory.pm:19):
19: our $VERSION = '0.95';
                                                                                                                                      DB<2> b 580
                                                                                                                                      DB<3> c

do not generate any errors,

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

comment:8 Changed 2 years ago by bowtie

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