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 98223 - Debugging broken after ignore breakpoint in step
Summary: Debugging broken after ignore breakpoint in step
Status: VERIFIED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-19 16:11 UTC by ehucka
Modified: 2007-03-21 14:59 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 ehucka 2007-03-19 16:11:44 UTC
NetBeans IDE Dev (Build 200703181900)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Linux version 2.6.16-1.2122_FC5 running on i386
en_US (nb); UTF-8

Example (ThreadSuspending.java test in debugger testspec):

for (int i = 0; i < 100; i++) {
    i++;
>    System.out.println("Thread-2: " + (i));
    i--;
}

> is line breakpoint

1. start debugging
2. stop on the breakpoint
3. invoke step over four times

A question dialog will appear with "Step was interrupted by breakpoint ..." message.
Answer Yes (the breakpoint should be ignored).
Result:
Current pc annotation disappear, debugger is running by content of toolbar,
threads view, sessions view and debugger console. 
Local variables, watches and output of the application looks like the debugger
is stopped - no new message from System.out, the same values of variables.
Comment 1 ehucka 2007-03-19 17:44:56 UTC
set as showstopper for m8
Comment 2 Martin Entlicher 2007-03-20 14:38:53 UTC
Reproduced, working on a fix...
Comment 3 Martin Entlicher 2007-03-20 15:38:52 UTC
Fixed in trunk:

/shared/data/ccvs/repository/debuggerjpda/src/org/netbeans/modules/debugger/jpda/actions/StepActionProvider.java,v
 <--  StepActionProvider.java
new revision: 1.38; previous revision: 1.37
Comment 4 ehucka 2007-03-21 14:59:52 UTC
verified