This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 13334 - Toggling breakpoints do not work correctly - its a fragile feature
Summary: Toggling breakpoints do not work correctly - its a fragile feature
Status: CLOSED WORKSFORME
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P2 blocker with 1 vote (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-06-29 22:44 UTC by emmanuel
Modified: 2001-07-27 09:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NB debug breakpoints without colouring (124.91 KB, image/jpeg)
2001-07-20 20:35 UTC, emmanuel
Details
Breakpoint duplicated (101.87 KB, image/jpeg)
2001-08-01 23:06 UTC, support
Details

Note You need to log in before you can comment on or make changes to this bug.
Description emmanuel 2001-06-29 22:44:07 UTC
Build 200106290100.

I cannot remove breakpoints, the moment I stop & start NB, they are back.

Could this be corrected please.

Kind regards
Emmanuel
Comment 1 emmanuel 2001-07-02 21:23:06 UTC
Build 200106290100.

Toggling breakpoints are fragile.  I notice that when NB opens the debugger 
workspace, at that moment the debugger and source editor windows show the 
correct breakpoints and colouring.  Instantaniously there is a flicker and the 
breakpoints and colouring disappears or reappear.  The results are not 
consistant nor correct.

Could this be corected please.

Kind regards
Emmanuel
Comment 2 emmanuel 2001-07-02 21:27:56 UTC
Created attachment 1812 [details]
NB debug breakpoints without colouring
Comment 3 emmanuel 2001-07-02 21:29:38 UTC
And once this starts, I cannot successfully toggle these off or delete with 
right-click.
Comment 4 Marian Petras 2001-07-03 11:49:06 UTC
I cannot reproduce it (on Linux).

Could you provide additional information, please:
- What JDK version you use?
- Do you use NetBeans 3.2 settings or you use new settings directory for dev.
  builds?
- How do you create breakpoints?
    - "Toggle breakpoint" action
    - or: "Add breakpoint" dialog
- How do you try do delete breakpoints?
    - "Toggle breakpoint" action
    - or: you select the breakpoint in the Breakpoints tree and select "Delete"
    - or: you select root of the Breakpoints tree and select "Delete All"
Comment 5 support 2001-07-04 18:05:37 UTC
Created attachment 1820 [details]
Breakpoint duplicated
Comment 6 support 2001-07-04 18:32:37 UTC
Hello Marian,

This feature is continuously fragile.  Meaning, when breakpoints are 
set, they color, when restarting NB, they don't color, they can set 
in duplicate.  I can delete them, when restarting NB, they are gone 
or they appear, or the coloring is there or the coloring is missing.  
Both my attachments would not be something that I should be able to 
do even if I was using the feature incorrectly.  Note, this happens 
after restarting NB.

Here is my response to your questions;

> I cannot reproduce it (on Linux).

As above in my case.


> Could you provide additional information, please:
> - What JDK version you use?

From IDE.LOG
>System Info: 
  Product Version = NetBeans IDE, Development Version (Build 
200106290100)
  IDE Versioning     = IDE/1 spec=1.18 impl=200106290100
  Operating System   = Windows 2000 version 5.0 running on x86
  Java; VM; Vendor   = 1.3.0; Java HotSpot(TM) Client VM 1.3.0-C; Sun 
Microsystems Inc.


> - Do you use NetBeans 3.2 settings or you use new settings 
directory for dev.

The userdir, is from when I installed NB3.2, then when I downloaded 
and started using dev builds, I merely point to the same userdir.  
Therefore I suspect the setting are from NB3.2 and then new ones 
added as per dev build/s.


>   builds?
As per issue, build 200106290100


> - How do you create breakpoints?
>     - "Toggle breakpoint" action
Yes


>     - or: "Add breakpoint" dialog
Yes


> - How do you try do delete breakpoints?
>     - "Toggle breakpoint" action
Yes


>     - or: you select the breakpoint in the Breakpoints tree and 
> select "Delete"
Yes


>     - or: you select root of the Breakpoints tree and 
select "Delete All"
Yes.  Note, when the anomaly happens and I enable all at root, the 
coloring is still not there, then when I disable all, and enable all, 
the coloring appears.

Regarding the last questions, I have used every combination you ask 
about, therefore I state yes to all.


I have literally spent 2 hours to consistently reproduce the 
conditions, they are to fragile to get the pattern.

Hope this helps.

Kind regards
Emmanuel
Comment 7 support 2001-07-04 18:45:06 UTC
I will assist as much as you nees, seeing as this issue is 
troublesome.
Comment 8 Jan Stola 2001-07-26 11:31:11 UTC
I am sorry, I cannot reproduce this issue in the build you mentioned.
This issue is connected with deserialization of breakpoints
which does not work at all in the current development builds
(see issue 13592). The deserialization will be rewritten
(due to new implementation of projects). So, I hope that
this issue will be fixed when the deserialization will be fixed
(you can add yourself to the CC of the issue 13592).
Feel free to reopen this issue if you encounter these problems
again after deserialization fix. Thanks.
Comment 9 emmanuel 2001-07-26 19:56:02 UTC
Thank you for the feedback.
Comment 10 Jan Stola 2001-07-27 09:16:00 UTC
Resolution Woksforme -> Status Closed.