Opened 3 years ago

Closed 3 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 3 years ago by bowtie

Opps

Last edited 3 years ago by bowtie (previous) (diff)

comment:8 Changed 3 years ago by bowtie

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