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 56865 - Consequnce of fix #56053 - breakpoints are not hit by other threads
Summary: Consequnce of fix #56053 - breakpoints are not hit by other threads
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 4.x
Hardware: All Windows XP
: P1 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-23 13:47 UTC by _ lcincura
Modified: 2006-03-24 12:48 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Test java class (8.23 KB, text/plain)
2005-03-23 13:47 UTC, _ lcincura
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ lcincura 2005-03-23 13:47:05 UTC
NetBeans IDE 4.1 [200503221900] on jdk 1.5.0_02

1, Create line breakpoints on lines 101 and 250
2, Start debugging the class
3, When brekapoint on line 101 is reached, invoke Continue, Pause, Continue =>
debugger should be stopped on line 250
4, Wait some time (3sec) and Invoke Step Over => debugger stops on line 251. But
during the step operation, another thread hit the breakpoint on line 101. The
thread was not stopped on the brekapoint and all the user can see is scroll of
editor window to the line 101 and back to line 251.
5, Repeat Step Over and watch the behaviour

I have heard some negative feedback from users about this problem. The
breakpoints are (from user point of view) 'randomly' ignored and this is serious
problem.
Comment 1 _ lcincura 2005-03-23 13:47:42 UTC
Created attachment 21061 [details]
Test java class
Comment 2 Jan Jancura 2005-03-24 17:13:16 UTC
the fix has been reverted
Comment 3 ehucka 2005-03-29 08:12:20 UTC
could you make it in QBE200503221900 branch too? It is q-build stopper.
Comment 4 Jan Jancura 2005-03-29 08:53:16 UTC
fixed in QBE200503221900 branch:

Checking in ant/src/org/netbeans/modules/debugger/projects/EditorContextImpl.java;
/cvs/debuggerjpda/ant/src/org/netbeans/modules/debugger/projects/EditorContextImpl.java,v
 <--  EditorContextImpl.java
new revision: 1.10.16.1; previous revision: 1.10
done
Checking in src/org/netbeans/modules/debugger/jpda/JPDADebuggerImpl.java;
/cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/JPDADebuggerImpl.java,v
 <--  JPDADebuggerImpl.java
new revision: 1.63.2.1; previous revision: 1.63
done
Checking in src/org/netbeans/modules/debugger/jpda/actions/StepActionProvider.java;
/cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/actions/StepActionProvider.java,v
 <--  StepActionProvider.java
new revision: 1.11.2.1; previous revision: 1.11
done
Checking in src/org/netbeans/modules/debugger/jpda/breakpoints/BreakpointImpl.java;
/cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/breakpoints/BreakpointImpl.java,v
 <--  BreakpointImpl.java
new revision: 1.14.8.1; previous revision: 1.14
done
Checking in
ui/src/org/netbeans/modules/debugger/jpda/ui/CurrentThreadAnnotationListener.java;
/cvs/debuggerjpda/ui/src/org/netbeans/modules/debugger/jpda/ui/CurrentThreadAnnotationListener.java,v
 <--  CurrentThreadAnnotationListener.java
new revision: 1.14.10.1; previous revision: 1.14
done

*****CVS exited normally with code 0*****

Comment 5 _ lcincura 2005-03-30 09:04:30 UTC
Rollback of fix helped.
Verified on q-build 200503291306