Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi for PHP/Debugger/Breakpoints    [ Add a report in this area ]  
Report #:  107229   Status: Reported
Breakpoints list issues
Project:  HTML5 Builder Build #:  4.4.0.1656
Version:    4.4 Submitted By:   David Mora
Report Type:  Basic functionality failure Date Reported:  7/19/2012 4:59:04 AM
Severity:    Commonly encountered problem Last Updated:
Platform:    All versions Internal Tracking #:  
Resolution: None  Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: (2 Total Ratings)
5.00 out of 5
Total Votes: 15
Description
Very often the breakpoints are not in sync with the code editor.

When reopening a project:
1) breakpoints never show in the source editor;
2) breakpoints list is outdated: contains breakpoints that were removed in previous sessions, and does not include breakpoints that were set in the last session

Steps to Reproduce:
Set a breakpoint in a source file.
Can see the breakpoint marker at the beginning of the line, and the corresponding entry in the breakpoint list.

Close all, and reopen the project.
The breakpoint appears in the breakpoint list but the line is not marked in the source editor.

Pressing F5 on the source code line makes the marker appear again for that source line, but also adds another identical breakpoint in the list.

Pressing F5 again to toggle the breakpoint off makes the marker disappear and removes one of the two breakpoints from the list, but one remains active.

Also:
Delete all breakpoints from the breakpoint list.
Set a new breakpoint on a different source line.
Close all, reopen project.
Again no breakpoints are shown in the source editor, and also the old breakpoint that was removed is shown in the breakpoint list, not the new one.

Also:
Say there is a breakpoint on line 100.
Add some code lines (say 5) before line 100. Notice the breakpoint list is updated instantly, and that breakpoint now refers to line 105.
Save the file, reopen the project: the breakpoint still refers to line 100.
Workarounds
None
Attachment
None
Comments

None

Server Response from: ETNACODE01