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 55432 - stop at breakpoint produces two messages in random order
Summary: stop at breakpoint produces two messages in random order
Status: VERIFIED DUPLICATE of bug 50811
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: issues@debugger
URL:
Keywords: T9Y
Depends on:
Blocks:
 
Reported: 2005-02-23 18:19 UTC by Martin Schovanek
Modified: 2006-10-23 16:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schovanek 2005-02-23 18:19:12 UTC
[#200402221900, jdk1.5.0]

1st message:
Thread xxx stoped at Srv.java:80
2nd message:
Break point hit at line 35 in class ....

Please fix it asap, it cuses automated tests
random fails. The evil is the random messages
order. If I can choose I would prefer to produce
1st message as second.
Comment 1 Jan Jancura 2005-02-24 07:59:00 UTC
This can hardly be a P2.
You can check this situation even in tests. Just read both messages.
Comment 2 _ lcincura 2005-02-24 10:15:51 UTC
From user point of view I agree it is P4. But due to this problem
debugger tests are not stable and cannot run on daily basis. Thus
debugger is not tested automatically in daily builds.

Hanzi, it is not possible to wait for two messages. Currently in UI
tests you can wait for a specific message, which is on the last line.
This makes no problems for other tests, so I doubt somebody will
enhance the functionality just because debugger does not behave
deterministic.
Comment 3 Jan Jancura 2005-02-24 12:31:52 UTC
I do not want to do not trivial change in our production code only
because of you do not want to do not trivial change in your tests. We
are in stabilization phase.
This bug is p4 from user point of view, and we have some other bugs too.
Comment 4 Jan Jancura 2005-04-13 09:28:28 UTC
No chance to fix it in 4.1.
Comment 5 Martin Entlicher 2005-08-20 10:27:53 UTC
The problem is still there:

User program running
Breakpoint hit at line 30 in class debuggertest1.TestSmartStep by thread main.
Thread main stopped at TestSmartStep.java:30.
Breakpoint hit at line 43 in class debuggertest1.TestSmartStep by thread main.
User program running
Thread main stopped at TestSmartStep.java:43.
User program running
Thread main stopped at TestSmartStep.java:54.

This must be a (missing) synchronization issue...

But it looks that "Thread main stopped at ..." is always printed as the last
message now.
Comment 6 Martin Entlicher 2006-05-11 18:27:24 UTC
This is a dupl. of issue #50811.

*** This issue has been marked as a duplicate of 50811 ***
Comment 7 Jiri Kovalsky 2006-07-19 08:10:28 UTC
Verifying in development build #200607181800 of NetBeans 6.0.